diff options
author | Rogelio Garcia <rgarcia@ti.com> | 2012-03-07 17:38:26 -0600 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:57:12 +0200 |
commit | 4a9b40fb96d32e25f51eeab08aaeb1c0ea655781 (patch) | |
tree | 3b6c31675faad1ae98cc4394d5cc86d35197846b /arch/arm/plat-omap/include/plat/gpu.h | |
parent | c51445d77d320a932c9f6c35c08c0296d555e093 (diff) | |
download | kernel_samsung_tuna-4a9b40fb96d32e25f51eeab08aaeb1c0ea655781.zip kernel_samsung_tuna-4a9b40fb96d32e25f51eeab08aaeb1c0ea655781.tar.gz kernel_samsung_tuna-4a9b40fb96d32e25f51eeab08aaeb1c0ea655781.tar.bz2 |
omap: Adding opp functions to gpu platform data.
This is required for providing opp framework access to SGX kernel module.
Change-Id: Ie968a6c51ac636b70909257be4c51430c4cc3d48
Signed-off-by: Rogelio Garcia <rgarcia@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/gpu.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/gpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpu.h b/arch/arm/plat-omap/include/plat/gpu.h index 0a6313b..ae6cf70 100644 --- a/arch/arm/plat-omap/include/plat/gpu.h +++ b/arch/arm/plat-omap/include/plat/gpu.h @@ -34,6 +34,9 @@ struct gpu_platform_data { int (*device_enable) (struct platform_device *pdev); int (*device_shutdown) (struct platform_device *pdev); int (*device_idle) (struct platform_device *pdev); + int (*opp_get_opp_count) (struct device *dev); + struct opp *(*opp_find_freq_ceil) (struct device *dev, + unsigned long *freq); }; #endif |