aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index b5f20b42439e..0cbf651a88a6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -1368,7 +1368,7 @@ u64 amdgpu_bo_gpu_offset(struct amdgpu_bo *bo)
1368 WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_VRAM && 1368 WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_VRAM &&
1369 !(bo->flags & AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS)); 1369 !(bo->flags & AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS));
1370 1370
1371 return bo->tbo.offset; 1371 return amdgpu_gmc_sign_extend(bo->tbo.offset);
1372} 1372}
1373 1373
1374/** 1374/**