]> git.baikalelectronics.ru Git - kernel.git/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)
commitcb5d792860f5366bfa952b0b011eb21f23e88f53
tree34f9f227b10a76d4e37e82ec058d5ca0c68906a9
parent11efeca263770629c7aebfa48ecfcd98442ab4a1
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