mali_kbase_hwaccess_gpuprops.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. *
  3. * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved.
  4. *
  5. * This program is free software and is provided to you under the terms of the
  6. * GNU General Public License version 2 as published by the Free Software
  7. * Foundation, and any use by you of this program is subject to the terms
  8. * of such GNU licence.
  9. *
  10. * A copy of the licence is included with the program, and can also be obtained
  11. * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  12. * Boston, MA 02110-1301, USA.
  13. *
  14. */
  15. /**
  16. * Base kernel property query backend APIs
  17. */
  18. #ifndef _KBASE_HWACCESS_GPUPROPS_H_
  19. #define _KBASE_HWACCESS_GPUPROPS_H_
  20. /**
  21. * kbase_backend_gpuprops_get() - Fill @regdump with GPU properties read from
  22. * GPU
  23. * @kbdev: Device pointer
  24. * @regdump: Pointer to struct kbase_gpuprops_regdump structure
  25. */
  26. void kbase_backend_gpuprops_get(struct kbase_device *kbdev,
  27. struct kbase_gpuprops_regdump *regdump);
  28. /**
  29. * kbase_backend_gpuprops_get - Fill @regdump with GPU properties read from GPU
  30. * @kbdev: Device pointer
  31. * @regdump: Pointer to struct kbase_gpuprops_regdump structure
  32. *
  33. * This function reads GPU properties that are dependent on the hardware
  34. * features bitmask
  35. */
  36. void kbase_backend_gpuprops_get_features(struct kbase_device *kbdev,
  37. struct kbase_gpuprops_regdump *regdump);
  38. #endif // ifndef _KBASE_HWACCESS_GPUPROPS_H_