]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Early return on stream programming failure
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Tue, 7 Nov 2017 20:54:58 +0000 (15:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:41 +0000 (12:47 -0500)
commit6b2115d669a18ab00c62c23235f24ea2cbb2ce99
treec57d26cda499d994160bd63c85d37523023fc170
parent4b658d3d4a330386f5bd803933893d5279392fd8
drm/amd/display: Early return on stream programming failure

The fail goto is incorrect. It will incorrectly release the dc_states on
stream programming failure.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c