Skip to content

Commit

Permalink
drm/radeon: fix radeon_move_blit on 32bit systems
Browse files Browse the repository at this point in the history
[ 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]>
  • Loading branch information
ChristianKoenigAMD authored and Sasha Levin committed Sep 1, 2016
1 parent 183e633 commit 0a47a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/radeon/radeon_ttm.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ static int radeon_move_blit(struct ttm_buffer_object *bo,

rdev = radeon_get_rdev(bo->bdev);
ridx = radeon_copy_ring_index(rdev);
old_start = old_mem->start << PAGE_SHIFT;
new_start = new_mem->start << PAGE_SHIFT;
old_start = (u64)old_mem->start << PAGE_SHIFT;
new_start = (u64)new_mem->start << PAGE_SHIFT;

switch (old_mem->mem_type) {
case TTM_PL_VRAM:
Expand Down

0 comments on commit 0a47a53

Please sign in to comment.