]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: Disable OTG WA for the plane_state NULL case on DCN314
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 6 Sep 2022 13:47:24 +0000 (09:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Sep 2022 21:30:50 +0000 (17:30 -0400)
commit29a1c581a5d873046302aa22c4a05124c5faefab
tree85e8b684ac44b98a464477bab4bd1eb6dfd29f0b
parentf528fa3989c53d4cf2ee22d306eb1a96ed0010e6
drm/amd/display: Disable OTG WA for the plane_state NULL case on DCN314

[Why]
This shouldn't trigger during tiled display hotplug/unplug but it does
because one of the tiles can end up with a NULL plane state.

This also doesn't guard against the hang that it was originally trying
to resolve, and can instead cause DIO corruption due to OTG sync
being lost.

[How]
This was reverted at one point out of DCN31 so revert it here too.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c