]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit966b75514c07aa15f0a36e566db422362a503e15
tree3d2c48971052324739f1c5986e348c6ee36ace65
parent0e4be894e0e8da750c1e730a29b84a61aec6555a
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: 35c780472f19b1 ("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