]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit765848a31cfd90367f7f3db5b6c50a263323a806
treea702a72a8df6d7910ed14641cd2604fdfc977a54
parentcc8e7cbac95f828454c6a4c02643760c17c30291
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