mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
drm/amd/display: Program meta addresses correctly
[Why] When forcing 3D mode in DAL, we set the right address to be the same as the left address. We need to do the same for the meta addresses. [How] Program right meta to be same as left meta. Signed-off-by: Alvin Lee <alvin.lee2@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1535,6 +1535,8 @@ static bool patch_address_for_sbs_tb_stereo(
|
||||
plane_state->address.type = PLN_ADDR_TYPE_GRPH_STEREO;
|
||||
plane_state->address.grph_stereo.right_addr =
|
||||
plane_state->address.grph_stereo.left_addr;
|
||||
plane_state->address.grph_stereo.right_meta_addr =
|
||||
plane_state->address.grph_stereo.left_meta_addr;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -2034,6 +2034,8 @@ static bool patch_address_for_sbs_tb_stereo(
|
||||
plane_state->address.type = PLN_ADDR_TYPE_GRPH_STEREO;
|
||||
plane_state->address.grph_stereo.right_addr =
|
||||
plane_state->address.grph_stereo.left_addr;
|
||||
plane_state->address.grph_stereo.right_meta_addr =
|
||||
plane_state->address.grph_stereo.left_meta_addr;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user