drm/amd/display: add pipe reassignment prevention code to dcn3
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 28 Sep 2020 21:59:38 +0000 (17:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2020 17:50:22 +0000 (13:50 -0400)
commitd3768874e5fe410d80c45e57bff47e8e708c0516
tree3d2c48971052324739f1c5986e348c6ee36ace65
parent8ffff9b4499cbbda5b44cf84df576a7c5a3c2e06
drm/amd/display: add pipe reassignment prevention code to dcn3

Add code to gracefuly handle any pipe reassignment
occuring on dcn3 hardware. This should only happen when new
surfaces are used for an update rather than old ones updated.

Fixes: 69fc1f4b976cea ("amd/drm/display: avoid dcn3 on flip opp change for slave pipes")
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c