]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: dpu: Consolidate atomic_check functions()
authorSean Paul <seanpaul@chromium.org>
Wed, 12 Sep 2018 13:54:55 +0000 (09:54 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:52 +0000 (20:24 -0400)
commit606bfaac0158803f1899bea05c2c7fb23387224a
tree5f2b43461fd2ea2db98e9ea706c5795fe9e2aaa9
parentc993b78fb5a8d6407e73be45335e44ab2f4fa02c
drm/msm: dpu: Consolidate atomic_check functions()

dpu_plane_atomic_check() is a very thin wrapper around
dpu_plane_sspp_atomic_check(). All it does is a NULL-check of state->fb,
which is already done by drm_atomic_helper_check_plane_state(). Further,
the helper sets state->visible = false when this is true. So remove
dpu_plane_atomic_check() and just use dpu_plane_sspp_atomic_check()
directly.

Changes in v2:
- Fix spelling mistake in Subject (Jeykumar)

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