summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSumit Singh <sumsingh@nvidia.com>2015-01-04 03:00:33 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:57:41 -0400
commit86637dcef9a978d21bae9978ce3f6863a45fc973 (patch)
tree98a00bd140aa0454d188cf897c2c6c69f748e7f4 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent182730599e3636b337b76fa49adbc1a5b243667f (diff)
gpu: nvgpu: Add DT support for gpu power-domain
First, defining a new structure to support gk20a power domain. Then making necessary modifications to add so as to add DT support for gpu power-domain. bug 200070810 Change-Id: I29e1c24b181e14743d3969103abfd1882d171f07 Signed-off-by: Sumit Singh <sumsingh@nvidia.com> Reviewed-on: http://git-master/r/668973 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 4fac3cc5..b9bdc6e6 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -504,8 +504,6 @@ struct gk20a {
504 u32 max_ltc_count; 504 u32 max_ltc_count;
505 u32 ltc_count; 505 u32 ltc_count;
506 506
507 struct generic_pm_domain pd;
508
509 struct devfreq *devfreq; 507 struct devfreq *devfreq;
510 508
511 struct gk20a_scale_profile *scale_profile; 509 struct gk20a_scale_profile *scale_profile;
@@ -556,6 +554,11 @@ struct gk20a_cyclestate_buffer_elem {
556 u64 data; 554 u64 data;
557}; 555};
558 556
557struct gk20a_domain_data {
558 struct generic_pm_domain gpd;
559 struct gk20a *gk20a;
560};
561
559/* debug accessories */ 562/* debug accessories */
560 563
561#ifdef CONFIG_DEBUG_FS 564#ifdef CONFIG_DEBUG_FS