projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae5b80d
)
drm/radeon: fix radeon_move_blit on 32bit systems
author
Christian König
<
[email protected]
>
Wed, 17 Aug 2016 07:46:42 +0000
(09:46 +0200)
committer
Alex Deucher
<
[email protected]
>
Fri, 19 Aug 2016 16:22:40 +0000
(12:22 -0400)
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]
drivers/gpu/drm/radeon/radeon_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_ttm.c
b/drivers/gpu/drm/radeon/radeon_ttm.c
index 0c00e192c8458406e11783d1bfb674e18747a811..c2e0a1ccdfbce8b0db402d1091363e070e465c9d 100644
(file)
--- 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: