diff options
author | Sean Paul <seanpaul@chromium.org> | 2018-09-12 16:54:56 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-10-04 03:24:53 +0300 |
commit | 31ab6bff07c47c1cee4aa8d0962fdd8229d9873c (patch) | |
tree | 4e3efbaef5766de2fc39e4f2c4855ba763e08fd8 /drivers/gpu/drm/msm | |
parent | 2a7a92fc31c2c02d0d06fbcf178403cd5889f59b (diff) | |
download | linux-31ab6bff07c47c1cee4aa8d0962fdd8229d9873c.tar.xz |
drm/msm: dpu: Remove dpu_plane_sspp_enabled()
It's doing the same thing dpu_plane_enabled() is.
Changes in v2:
- None
Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index 3aca46cc341e..3198546e5ecc 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c @@ -140,11 +140,6 @@ static bool dpu_plane_enabled(struct drm_plane_state *state) return state && state->fb && state->crtc; } -static bool dpu_plane_sspp_enabled(struct drm_plane_state *state) -{ - return state && state->crtc; -} - /** * _dpu_plane_calc_fill_level - calculate fill level of the given source format * @plane: Pointer to drm plane @@ -1400,7 +1395,7 @@ static void dpu_plane_atomic_update(struct drm_plane *plane, DPU_DEBUG_PLANE(pdpu, "\n"); - if (!dpu_plane_sspp_enabled(state)) { + if (!dpu_plane_enabled(state)) { _dpu_plane_atomic_disable(plane, old_state); } else { int ret; |