FAILED: patch "[PATCH] Revert "drm/amd/display: fix dereferencing possible" failed to apply to 4.17-stable tree
[email protected]
maintainerThe patch below does not apply to the 4.17-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
642ad57058baaa2c105925a75c153bb486877513Mon Sep 17 00:00:00 2001
From: Harry Wentland <[email protected]>
Date: Thu, 12 Apr 2018 10:51:51 -0400
Subject: [PATCH] Revert "drm/amd/display: fix dereferencing possible
ERR_PTR()"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit cd2d6c92a8e39d7e50a5af9fcc67d07e6a89e91d.
Cc Shirish S <[email protected]>
Cc Alex Deucher <[email protected]>
Reviewed-by Michel Dänzer <[email protected]>
Signed-off-by Harry Wentland <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -3
@@ -4941,9 +4941,6 @@ static int dm_atomic_check_plane_state_fb(struct drm_atomic_state *state,return -EDEADLK ; crtc_state =drm_atomic_get_crtc_state (plane_state->state, crtc); -if (IS_ERR (crtc_state)) -return PTR_ERR (crtc_state); -if (crtc->primary == plane && crtc_state->active) {if (!plane_state->fb)return -EINVAL ;