aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/evergreen_blit_kms.c8
-rw-r--r--drivers/gpu/drm/radeon/r600_blit_kms.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_blit_kms.c b/drivers/gpu/drm/radeon/evergreen_blit_kms.c
index ce1ae4a2aa5..a9825aa324b 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);
diff --git a/drivers/gpu/drm/radeon/r600_blit_kms.c b/drivers/gpu/drm/radeon/r600_blit_kms.c
index 2a4747d9747..39d566dbabf 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);