]> 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)
commit90259585cc85de7eaa7dc3049ecc003780c1d9d1
treec57d26cda499d994160bd63c85d37523023fc170
parent43fae51395cc6d9d4d1ec886e02d7026ce3240bb
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