Skip to content

Commit 146ed73

Browse files
ChristianKoenigAMDSasha Levin
authored andcommitted
drm/radeon: fix radeon_move_blit on 32bit systems
[ Upstream commit 13f479b ] This bug seems to be present for a very long time. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] Signed-off-by: Sasha Levin <[email protected]>
1 parent bb6cf2c commit 146ed73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/radeon/radeon_ttm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ static int radeon_move_blit(struct ttm_buffer_object *bo,
263263

264264
rdev = radeon_get_rdev(bo->bdev);
265265
ridx = radeon_copy_ring_index(rdev);
266-
old_start = old_mem->start << PAGE_SHIFT;
267-
new_start = new_mem->start << PAGE_SHIFT;
266+
old_start = (u64)old_mem->start << PAGE_SHIFT;
267+
new_start = (u64)new_mem->start << PAGE_SHIFT;
268268

269269
switch (old_mem->mem_type) {
270270
case TTM_PL_VRAM:

0 commit comments

Comments
 (0)