aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
diff options
context:
space:
mode:
authorJimmy Kizito <Jimmy.Kizito@amd.com>2021-10-20 12:27:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 16:12:45 -0400
commit6366b00346c0fe8ae95d91eed3dd2d04f77729e7 (patch)
tree33365324fc36ce03a698d4f761be0a7e69bdfd61 /drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
parentdrm/amd/display: guard for virtual calling destroy_link_encoders (diff)
downloadlinux-dev-6366b00346c0fe8ae95d91eed3dd2d04f77729e7.tar.xz
linux-dev-6366b00346c0fe8ae95d91eed3dd2d04f77729e7.zip
drm/amd/display: Maintain consistent mode of operation during encoder assignment
[Why] While applying a state to hardware, there is a transition period where the back-end is reset using the old state; then enabled using the new state. Generally, the link encoder configuration module queries stream-to-encoder assignments in either the new or old state based on a mode variable. During the transition there is a need to query both states, however toggling this mode variable can lead to incorrect programming of encoders. [How] - Add new function to explicity query stream-to-encoder assignment in the current state rather than intermittently switch the mode of operation of the link encoder assignment module. - Add additional checks for encoder assignment defects. - Explicitly reset the mode of operation if application of state to hardware ends prematurely. Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c')
0 files changed, 0 insertions, 0 deletions