From 6baf9fce3129ca8552ba167d6ae328b847d1f0a1 Mon Sep 17 00:00:00 2001 From: Vedashree Vidwans Date: Mon, 5 Aug 2019 13:03:36 -0700 Subject: [PATCH] gpu: nvgpu: follow-up to update variable name This patch modifies variable name to reflect correct intent. Jira NVGPU-3858 Change-Id: I9fe208e4e5627085bb0dd0a41fb5e5266c5713b0 Signed-off-by: Vedashree Vidwans Reviewed-on: https://git-master.nvidia.com/r/2168624 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu Reviewed-by: Vinod Gopalakrishnakurup Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c index d312a947d..fd0ce0ff1 100644 --- a/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c @@ -342,10 +342,10 @@ static u32 gp10b_get_pde0_pgsz(struct gk20a *g, const struct gk20a_mmu_level *l, (gmmu_new_dual_pde_aperture_small_sys_mem_ncoh_f() | gmmu_new_dual_pde_aperture_small_sys_mem_coh_f() | gmmu_new_dual_pde_aperture_small_video_memory_f())) != 0U) { - u32 new_pde_addr_big_sys = + u32 new_pde_addr_small_sys = gmmu_new_dual_pde_address_small_sys_f(~U32(0U)); u64 addr = ((U64(pde_v[3]) << U64(32)) | - (U64(pde_v[2]) & U64(new_pde_addr_big_sys))) << + (U64(pde_v[2]) & U64(new_pde_addr_small_sys))) << U64(gmmu_new_dual_pde_address_shift_v()); if (addr != 0ULL) {