]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: fix error case handling
authorGuchun Chen <guchun.chen@amd.com>
Mon, 9 Aug 2021 07:44:29 +0000 (15:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:01 +0000 (15:23 -0400)
commit2cbc6f4259f6e4d86a3e92008e55bef106aa2d24
tree34f9f227b10a76d4e37e82ec058d5ca0c68906a9
parent75a07bcd1d3005bf1560d4756cb98e393269572c
drm/amd/display: fix error case handling

Otherwise, we will run into error case path.

v2: fix build when CONFIG_DRM_AMD_DC_DCN is not set

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c