sde_rotator_r1_debug.h 559 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __SDE_ROTATOR_R3_DEBUG_H__
  6. #define __SDE_ROTATOR_R3_DEBUG_H__
  7. #include <linux/types.h>
  8. #include <linux/dcache.h>
  9. struct sde_rot_mgr;
  10. #if defined(CONFIG_DEBUG_FS)
  11. int sde_rotator_r1_create_debugfs(struct sde_rot_mgr *mgr,
  12. struct dentry *debugfs_root);
  13. #else
  14. static inline
  15. int sde_rotator_r1_create_debugfs(struct sde_rot_mgr *mgr,
  16. struct dentry *debugfs_root)
  17. {
  18. return 0;
  19. }
  20. #endif
  21. #endif /* __SDE_ROTATOR_R3_DEBUG_H__ */