mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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 <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
ae5b80d2b6
commit
13f479b9df
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue