]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/msm/dpu: Remove suspend state tracking from crtc
authorBruce Wang <bzwang@chromium.org>
Fri, 5 Oct 2018 21:04:02 +0000 (17:04 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 17:51:27 +0000 (12:51 -0500)
commit7a007a121d342f0948be1f06ad61cdc953f7dab6
treeb71b592f0c716ca22eac78fcb1019104256f6d9c
parent3750e78c72da3c35292dcf531ebe3062faaa33bc
drm/msm/dpu: Remove suspend state tracking from crtc

Since drm core's modeset locks serialize atomic commits, we don't need to
track whether or not we're in a suspended state from inside the crtc for
dpu_crtc_enable/disable. This patch removes the suspend logic from the crtc and
removes the relevant tracing from dpu_trace. Since we removed all calls
to dpu_kms_is_suspend_state, we can remove that function and the
suspend_state field of dpu_kms as well.

v2: added patch to patchset
v3: reworded commit body and moved deletion of dpu_kms_is_suspend_state and
suspend_state to this patch

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Bruce Wang <bzwang@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h