diff options
author | Sean Paul <seanpaul@chromium.org> | 2018-10-16 11:52:45 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-12-03 08:46:13 -0500 |
commit | 081679c51ef2fd7b23cf9ddb7d775b17f75de18c (patch) | |
tree | b7dbadcf2bdf332b3bbdce99300501fc94995a6c /drivers/gpu | |
parent | d52900437e95e2799953af21971a54fe5f8e33ff (diff) | |
download | linux-stable-081679c51ef2fd7b23cf9ddb7d775b17f75de18c.tar.gz linux-stable-081679c51ef2fd7b23cf9ddb7d775b17f75de18c.tar.bz2 linux-stable-081679c51ef2fd7b23cf9ddb7d775b17f75de18c.zip |
drm/msm: dpu: Don't set legacy plane->crtc pointer
It causes a WARN in drm_atomic_get_plane_state(), and is not used by
atomic (or dpu).
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index d4530d60767b..ca169f013a14 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c @@ -1594,7 +1594,6 @@ struct drm_crtc *dpu_crtc_init(struct drm_device *dev, struct drm_plane *plane, NULL); drm_crtc_helper_add(crtc, &dpu_crtc_helper_funcs); - plane->crtc = crtc; /* save user friendly CRTC name for later */ snprintf(dpu_crtc->name, DPU_CRTC_NAME_SIZE, "crtc%u", crtc->base.id); |