]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: Fix hang when skipping modeset
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Fri, 24 Mar 2023 14:42:37 +0000 (10:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Apr 2023 02:28:12 +0000 (22:28 -0400)
commitda5e14909776edea4462672fb4a3007802d262e7
tree332e1fbb2213662b0bc6c8411ebea6e148c31069
parent3fb7efd6866e5d43770e999b33d619a3b345dc2f
drm/amd/display: Fix hang when skipping modeset

[Why&How]

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 <qingqing.zhuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c