sde_rotator_r1_debug.c 803 B

123456789101112131415161718192021222324252627282930313233343536
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
  4. */
  5. #define pr_fmt(fmt) "%s: " fmt, __func__
  6. #include <linux/types.h>
  7. #include <linux/kernel.h>
  8. #include <linux/slab.h>
  9. #include <linux/uaccess.h>
  10. #include <linux/debugfs.h>
  11. #include "sde_rotator_r1_debug.h"
  12. #include "sde_rotator_core.h"
  13. #include "sde_rotator_r1.h"
  14. #include "sde_rotator_r1_internal.h"
  15. /*
  16. * sde_rotator_r1_create_debugfs - Setup rotator r1 debugfs directory structure.
  17. * @rot_dev: Pointer to rotator device
  18. */
  19. int sde_rotator_r1_create_debugfs(struct sde_rot_mgr *mgr,
  20. struct dentry *debugfs_root)
  21. {
  22. struct sde_rotator_r1_data *hw_data;
  23. if (!mgr || !debugfs_root || !mgr->hw_data)
  24. return -EINVAL;
  25. hw_data = mgr->hw_data;
  26. /* add debugfs */
  27. return 0;
  28. }