diff options
author | Christian König <[email protected]> | 2016-08-17 09:46:42 +0200 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2016-08-19 12:22:40 -0400 |
commit | 13f479b9df4e2bbf2d16e7e1b02f3f55f70e2455 (patch) | |
tree | a33a4605c173f88d9d5325bd2b048d1b62572264 | |
parent | ae5b80d2b68eac945b124227dea34462118a6f01 (diff) |
drm/radeon: fix radeon_move_blit on 32bit systems
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]
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ttm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 0c00e192c845..c2e0a1ccdfbc 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c @@ -263,8 +263,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: |