drm/amd/display: Fix hang when skipping modeset
commit da5e14909776edea4462672fb4a3007802d262e7 upstream.
When skipping full modeset since the only state change was a front porch
change, the DC commit sequence requires extra checks to handle non
existant plane states being asked to be removed from context.
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <email@example.com>
Signed-off-by: Aurabindo Pillai <firstname.lastname@example.org>
Tested-by: Daniel Wheeler <email@example.com>
Signed-off-by: Alex Deucher <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>
2 files changed