drm/msm: dpu: Move atomic_check_plane_state() call to atomic_check
authorSean Paul <seanpaul@chromium.org>
Wed, 12 Sep 2018 13:54:54 +0000 (09:54 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:52 +0000 (20:24 -0400)
commit8df14b3e6ab367bdd939d52871ad80faf70ae8db
treed8da41634fb2d87a860eb647d8a7fa94e76bdafb
parent3d04dc1444be774d8b474962d01b65306756ec54
drm/msm: dpu: Move atomic_check_plane_state() call to atomic_check

src/dst rects are checked in both atomic_check and atomic_update, with
the more comprehensive check occurring in atomic_update, which is
backwards. So consolodate the checks in atomic_check.

Changes in v2:
- Use the correct crtc state (Jeykumar)

Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
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