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:
parent
b98ab70e74
commit
480c5b8ff8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue