diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_blit_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_blit_kms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_kms.c b/drivers/gpu/drm/radeon/r600_blit_kms.c index 2a4747d9747c..39d566dbabfa 100644 --- a/drivers/gpu/drm/radeon/r600_blit_kms.c +++ b/drivers/gpu/drm/radeon/r600_blit_kms.c | |||
@@ -661,8 +661,8 @@ void r600_kms_blit_copy(struct radeon_device *rdev, | |||
661 | int src_x = src_gpu_addr & 255; | 661 | int src_x = src_gpu_addr & 255; |
662 | int dst_x = dst_gpu_addr & 255; | 662 | int dst_x = dst_gpu_addr & 255; |
663 | int h = 1; | 663 | int h = 1; |
664 | src_gpu_addr = src_gpu_addr & ~255; | 664 | src_gpu_addr = src_gpu_addr & ~255ULL; |
665 | dst_gpu_addr = dst_gpu_addr & ~255; | 665 | dst_gpu_addr = dst_gpu_addr & ~255ULL; |
666 | 666 | ||
667 | if (!src_x && !dst_x) { | 667 | if (!src_x && !dst_x) { |
668 | h = (cur_size / max_bytes); | 668 | h = (cur_size / max_bytes); |
@@ -744,8 +744,8 @@ void r600_kms_blit_copy(struct radeon_device *rdev, | |||
744 | int src_x = (src_gpu_addr & 255); | 744 | int src_x = (src_gpu_addr & 255); |
745 | int dst_x = (dst_gpu_addr & 255); | 745 | int dst_x = (dst_gpu_addr & 255); |
746 | int h = 1; | 746 | int h = 1; |
747 | src_gpu_addr = src_gpu_addr & ~255; | 747 | src_gpu_addr = src_gpu_addr & ~255ULL; |
748 | dst_gpu_addr = dst_gpu_addr & ~255; | 748 | dst_gpu_addr = dst_gpu_addr & ~255ULL; |
749 | 749 | ||
750 | if (!src_x && !dst_x) { | 750 | if (!src_x && !dst_x) { |
751 | h = (cur_size / max_bytes); | 751 | h = (cur_size / max_bytes); |