diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-08 12:24:17 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-21 20:35:00 -0400 |
commit | 234835b9d1b74b318a8d976cd5284697cf99fff1 (patch) | |
tree | 0655cc659eba93636e4f588937589154bd5ca286 /drivers/gpu/nvgpu/common | |
parent | 974379ebb7e7acddc143923f094c58becf3067f1 (diff) |
gpu: nvgpu: Move devfreq field to os_linux
Move devfreq field from struct gk20a to os_linux. It's a Linux
specific framework.
JIRA NVGPU-38
Change-Id: I1e00f5a80e31deb4aaba379274c3a7a7b04d963b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505176
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/os_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/os_linux.h b/drivers/gpu/nvgpu/common/linux/os_linux.h index a61d07e6..e39d3c4d 100644 --- a/drivers/gpu/nvgpu/common/linux/os_linux.h +++ b/drivers/gpu/nvgpu/common/linux/os_linux.h | |||
@@ -65,6 +65,8 @@ struct nvgpu_os_linux { | |||
65 | 65 | ||
66 | dev_t cdev_region; | 66 | dev_t cdev_region; |
67 | 67 | ||
68 | struct devfreq *devfreq; | ||
69 | |||
68 | struct device_dma_parameters dma_parms; | 70 | struct device_dma_parameters dma_parms; |
69 | }; | 71 | }; |
70 | 72 | ||