提交 5b31aee9 编写于 作者: A Andre Maasikas 提交者: Dave Airlie

drm/radeon/r600: set correct pitch for 4 byte copy

[agd5f: also fix the non-kms path]
Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
上级 c2142715
......@@ -737,7 +737,7 @@ r600_blit_copy(struct drm_device *dev,
/* dst */
set_render_target(dev_priv, COLOR_8_8_8_8,
dst_x + cur_size, h,
(dst_x + cur_size) / 4, h,
dst_gpu_addr);
/* scissors */
......
......@@ -774,7 +774,7 @@ void r600_kms_blit_copy(struct radeon_device *rdev,
/* dst 23 */
set_render_target(rdev, COLOR_8_8_8_8,
dst_x + cur_size, h,
(dst_x + cur_size) / 4, h,
dst_gpu_addr);
/* scissors 12 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册