diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2014-10-06 21:10:10 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:39 -0400 |
commit | 47caf9f7f5119c301c0690595c5e5f7318ddc595 (patch) | |
tree | abd810e514182689a5089ee36d90a6f6e0611dc6 /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | 1517aaf26f07214e9a4459ee951399262ecc200e (diff) |
gpu: nvgpu: vgpu: fix build break
Switch struct definitions to use nvgpu version instead of
nvhost one.
Bug 1509608
Change-Id: Id8c1b0c198536766f0399437bdf2c35c6a6bfe85
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/554027
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index cfe307ff..84fd6d18 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -209,7 +209,7 @@ int vgpu_pm_prepare_poweroff(struct device *dev) | |||
209 | 209 | ||
210 | static void vgpu_detect_chip(struct gk20a *g) | 210 | static void vgpu_detect_chip(struct gk20a *g) |
211 | { | 211 | { |
212 | struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; | 212 | struct nvgpu_gpu_characteristics *gpu = &g->gpu_characteristics; |
213 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); | 213 | struct gk20a_platform *platform = gk20a_get_platform(g->dev); |
214 | 214 | ||
215 | u32 mc_boot_0_value; | 215 | u32 mc_boot_0_value; |
@@ -222,7 +222,7 @@ static void vgpu_detect_chip(struct gk20a *g) | |||
222 | } | 222 | } |
223 | 223 | ||
224 | gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << | 224 | gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << |
225 | NVHOST_GPU_ARCHITECTURE_SHIFT; | 225 | NVGPU_GPU_ARCHITECTURE_SHIFT; |
226 | gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); | 226 | gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); |
227 | gpu->rev = | 227 | gpu->rev = |
228 | (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | | 228 | (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | |