drm/amd/display: fix odm pipe management
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Sat, 9 Mar 2019 01:16:45 +0000 (20:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:49 +0000 (23:39 -0500)
commit6ffaa6fcd06add240abe681f9b6da7fef742b85d
treef2f60ace33ed3c21fd1ccd611db17166d97d705b
parent661a8cd9516b182c80fff1b2fdfb1b1e42e212d1
drm/amd/display: fix odm pipe management

There are issues removing surfaces/streams when odm is active.
This is a step to fix that

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
drivers/gpu/drm/amd/display/dc/inc/resource.h