drm/msm: dpu: Remove dpu_plane_enabled()
authorSean Paul <seanpaul@chromium.org>
Wed, 12 Sep 2018 13:54:57 +0000 (09:54 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:53 +0000 (20:24 -0400)
commite1ba78fcee04de09f5da309600af8a6eb1086387
tree9ce865cde6259b8cebd38cdfebda6cfb661254fa
parent31ab6bff07c47c1cee4aa8d0962fdd8229d9873c
drm/msm: dpu: Remove dpu_plane_enabled()

plane->state->visible encompasses all of these checks and more, so we
can just check visible.

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