drm/amd/display: fix releasing planes when exiting odm
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 7 Mar 2019 18:26:13 +0000 (13:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
commitbc2193992b00488f5734613ac95b78ef2d2803ab
treea702a72a8df6d7910ed14641cd2604fdfc977a54
parent1e49f3e56d4d8f1cf2defc05a6b57408226faa8a
drm/amd/display: fix releasing planes when exiting odm

Releasing planes should not release the 2nd odm pipe right away,
this change leaves us with 2 pipes with null planes and same stream
when planes are released during odm.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c