aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-12-03 15:47:15 -0700
committerRob Clark <robdclark@gmail.com>2018-12-11 13:10:16 -0500
commit35d600dd92489bcec8e91279a9c708e0e11f4bd4 (patch)
treeaa9a75601e658a254a1421bfe191316f868a8b33 /drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
parentdrm/msm/dpu: Remove dpu_dbg (diff)
downloadlinux-dev-35d600dd92489bcec8e91279a9c708e0e11f4bd4.tar.xz
linux-dev-35d600dd92489bcec8e91279a9c708e0e11f4bd4.zip
drm/msm/dpu: Remove dpu_crtc_get_mixer_height
dpu_crtc_get_mixer_height() is only used once and the value it returns can be easily derived from the calling function. v3: No changes Reviewed-by: Sean Paul <sean@poorly.run> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
index fc7123573891..b84dc5730a0e 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
@@ -237,19 +237,6 @@ static inline bool dpu_crtc_state_is_stereo(struct dpu_crtc_state *cstate)
}
/**
- * dpu_crtc_get_mixer_height - get the mixer height
- * Mixer height will be same as panel height
- */
-static inline int dpu_crtc_get_mixer_height(struct dpu_crtc *dpu_crtc,
- struct dpu_crtc_state *cstate, struct drm_display_mode *mode)
-{
- if (!dpu_crtc || !cstate || !mode)
- return 0;
-
- return mode->vdisplay;
-}
-
-/**
* dpu_crtc_frame_pending - retun the number of pending frames
* @crtc: Pointer to drm crtc object
*/