aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorzhikzhai <zhikai.zhai@amd.com>2022-10-20 11:46:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-10-27 14:45:08 -0400
commit1e8fd864afdc7a52df375e888a03b8472fc24f5d (patch)
treec77f1d1fe89f118c375f2dfd3a3e652ffd78ce55 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent203ccaf586446b578909de1b763278033fb74b51 (diff)
drm/amd/display: skip commit minimal transition state
[WHY] Now dynamic ODM will now be disabled when MPO is required safe transitions to avoid underflow, but we are triggering the way of minimal transition too often. Commit state of dc with no check will do pipeline setup which may re-initialize the component with no need such as audio. [HOW] Just do the minimal transition when all of pipes are in use, otherwise return true to skip. Tested-by: Mark Broadworth <mark.broadworth@amd.com> Reviewed-by: Dillon Varone <Dillon.Varone@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: zhikzhai <zhikai.zhai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions