diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_blit_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen_blit_kms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_blit_kms.c b/drivers/gpu/drm/radeon/evergreen_blit_kms.c index ce1ae4a2aa54..a9825aa324b4 100644 --- a/drivers/gpu/drm/radeon/evergreen_blit_kms.c +++ b/drivers/gpu/drm/radeon/evergreen_blit_kms.c | |||
@@ -611,8 +611,8 @@ void evergreen_kms_blit_copy(struct radeon_device *rdev, | |||
611 | int src_x = src_gpu_addr & 255; | 611 | int src_x = src_gpu_addr & 255; |
612 | int dst_x = dst_gpu_addr & 255; | 612 | int dst_x = dst_gpu_addr & 255; |
613 | int h = 1; | 613 | int h = 1; |
614 | src_gpu_addr = src_gpu_addr & ~255; | 614 | src_gpu_addr = src_gpu_addr & ~255ULL; |
615 | dst_gpu_addr = dst_gpu_addr & ~255; | 615 | dst_gpu_addr = dst_gpu_addr & ~255ULL; |
616 | 616 | ||
617 | if (!src_x && !dst_x) { | 617 | if (!src_x && !dst_x) { |
618 | h = (cur_size / max_bytes); | 618 | h = (cur_size / max_bytes); |
@@ -695,8 +695,8 @@ void evergreen_kms_blit_copy(struct radeon_device *rdev, | |||
695 | int src_x = (src_gpu_addr & 255); | 695 | int src_x = (src_gpu_addr & 255); |
696 | int dst_x = (dst_gpu_addr & 255); | 696 | int dst_x = (dst_gpu_addr & 255); |
697 | int h = 1; | 697 | int h = 1; |
698 | src_gpu_addr = src_gpu_addr & ~255; | 698 | src_gpu_addr = src_gpu_addr & ~255ULL; |
699 | dst_gpu_addr = dst_gpu_addr & ~255; | 699 | dst_gpu_addr = dst_gpu_addr & ~255ULL; |
700 | 700 | ||
701 | if (!src_x && !dst_x) { | 701 | if (!src_x && !dst_x) { |
702 | h = (cur_size / max_bytes); | 702 | h = (cur_size / max_bytes); |