drm/radeon/r600: set correct pitch for 4 byte copy
[agd5f: also fix the non-kms path] Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
c214271563
commit
5b31aee9d7
|
@ -737,7 +737,7 @@ r600_blit_copy(struct drm_device *dev,
|
||||||
|
|
||||||
/* dst */
|
/* dst */
|
||||||
set_render_target(dev_priv, COLOR_8_8_8_8,
|
set_render_target(dev_priv, COLOR_8_8_8_8,
|
||||||
dst_x + cur_size, h,
|
(dst_x + cur_size) / 4, h,
|
||||||
dst_gpu_addr);
|
dst_gpu_addr);
|
||||||
|
|
||||||
/* scissors */
|
/* scissors */
|
||||||
|
|
|
@ -774,7 +774,7 @@ void r600_kms_blit_copy(struct radeon_device *rdev,
|
||||||
|
|
||||||
/* dst 23 */
|
/* dst 23 */
|
||||||
set_render_target(rdev, COLOR_8_8_8_8,
|
set_render_target(rdev, COLOR_8_8_8_8,
|
||||||
dst_x + cur_size, h,
|
(dst_x + cur_size) / 4, h,
|
||||||
dst_gpu_addr);
|
dst_gpu_addr);
|
||||||
|
|
||||||
/* scissors 12 */
|
/* scissors 12 */
|
||||||
|
|
Loading…
Reference in New Issue