mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-04 19:22:08 -04:00
drm/amd/display: Update tiled to tiled copy command
[Why & How] Tiled command rect dimensions is 1 based, do rect_x/y - 1 internally Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Ostrowski Rafal <rostrows@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
eff8d30ac8
commit
19f76f2390
@@ -2072,8 +2072,8 @@ bool dmub_lsdma_send_tiled_to_tiled_copy_command(
|
||||
lsdma_data->u.tiled_copy_data.dst_swizzle_mode = params.swizzle_mode;
|
||||
lsdma_data->u.tiled_copy_data.src_element_size = params.element_size;
|
||||
lsdma_data->u.tiled_copy_data.dst_element_size = params.element_size;
|
||||
lsdma_data->u.tiled_copy_data.rect_x = params.rect_x;
|
||||
lsdma_data->u.tiled_copy_data.rect_y = params.rect_y;
|
||||
lsdma_data->u.tiled_copy_data.rect_x = params.rect_x - 1;
|
||||
lsdma_data->u.tiled_copy_data.rect_y = params.rect_y - 1;
|
||||
lsdma_data->u.tiled_copy_data.dcc = params.dcc;
|
||||
lsdma_data->u.tiled_copy_data.tmz = params.tmz;
|
||||
lsdma_data->u.tiled_copy_data.read_compress = params.read_compress;
|
||||
|
||||
Reference in New Issue
Block a user