]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: Remove dpu_crtc_is_enabled()
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 3 Dec 2018 22:47:16 +0000 (15:47 -0700)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:10:16 +0000 (13:10 -0500)
commitae7bf2dc87bd4d8e134470675dd94dc678021e95
tree052d8878e09d7550da60f3e0a7a12d9057c51e3f
parent1f5e1b11a76316743a8939f91902860d72c76abf
drm/msm/dpu: Remove dpu_crtc_is_enabled()

The static inline function dpu_crtc_enabled() is only called once
and the function that calls it in turn is only called once and
the return value can be easily checked in the calling functions
so collapse everything down.

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>
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h