diff options
author | Vladimir Stempen <vladimir.stempen@amd.com> | 2022-08-19 18:32:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-30 17:09:31 -0400 |
commit | 7b471c32e4cbfdd7a673b79321f6a26abecbf33b (patch) | |
tree | 59f20045da5275e34369fc6a08c64c9fea2d1842 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | d6f84bab48745ea68814d596eb476a9c11ce76ae (diff) |
drm/amd/display: Fix black flash when switching from ODM2to1 to ODMBypass
[Why]
On secondary display hotplug we switch primary
stream from ODM2to1 to ODMBypass mode. Current
logic will trigger disabling front end for this
stream.
[How]
We need to check if prev_odm_pipe is equal to NULL
in order to disable dangling planes in this scenario.
Reviewed-by: Ariel Bernstein <Eric.Bernstein@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Vladimir Stempen <vladimir.stempen@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/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions