]> 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)
commitd17759b8de0710ff96545d3f7b05e6cbd3bfd6f6
tree052d8878e09d7550da60f3e0a7a12d9057c51e3f
parentb093a624c076cf6ae1fb4d335a1300cc02d159e1
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