Commit 31ab6bff authored by Sean Paul's avatar Sean Paul Committed by Rob Clark

drm/msm: dpu: Remove dpu_plane_sspp_enabled()

It's doing the same thing dpu_plane_enabled() is.

Changes in v2:
- None
Reviewed-by: default avatarJeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 2a7a92fc
...@@ -140,11 +140,6 @@ static bool dpu_plane_enabled(struct drm_plane_state *state) ...@@ -140,11 +140,6 @@ static bool dpu_plane_enabled(struct drm_plane_state *state)
return state && state->fb && state->crtc; 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 * _dpu_plane_calc_fill_level - calculate fill level of the given source format
* @plane: Pointer to drm plane * @plane: Pointer to drm plane
...@@ -1400,7 +1395,7 @@ static void dpu_plane_atomic_update(struct drm_plane *plane, ...@@ -1400,7 +1395,7 @@ static void dpu_plane_atomic_update(struct drm_plane *plane,
DPU_DEBUG_PLANE(pdpu, "\n"); DPU_DEBUG_PLANE(pdpu, "\n");
if (!dpu_plane_sspp_enabled(state)) { if (!dpu_plane_enabled(state)) {
_dpu_plane_atomic_disable(plane, old_state); _dpu_plane_atomic_disable(plane, old_state);
} else { } else {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment