summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorHarry Wentland2017-09-12 18:10:25 +0200
committerAlex Deucher2017-10-21 22:51:54 +0200
commit1bed4d09a4cc5a7d4449da86832d9bd816ae44ff (patch)
tree677e6437cde3cc308c6ffbc42a1387a9ba6f2966 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amd/display: Move OS types to os_types.h (diff)
downloadkernel-qcow2-linux-1bed4d09a4cc5a7d4449da86832d9bd816ae44ff.tar.gz
kernel-qcow2-linux-1bed4d09a4cc5a7d4449da86832d9bd816ae44ff.tar.xz
kernel-qcow2-linux-1bed4d09a4cc5a7d4449da86832d9bd816ae44ff.zip
drm/amd/display: Fix one more place for dc_stream_state leak
One more thing that happened due to uneven applying of patches. This mirrors what Darren Salt fixed. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 0d1b41298990..58143fe49e4a 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -4484,7 +4484,7 @@ static int dm_update_crtcs_state(struct dc *dc,
* TODO: need to dig out the root cause of that
*/
if (!aconnector || (!aconnector->dc_sink && aconnector->mst_port))
- continue;
+ goto next_crtc;
if (modereset_required(new_crtc_state))
goto next_crtc;