drm/msm: dpu: Move atomic_check_plane_state() call to atomic_check
authorSean Paul <[email protected]>
Wed, 12 Sep 2018 13:54:54 +0000 (09:54 -0400)
committerRob Clark <[email protected]>
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 <[email protected]>
Reviewed-by: Jeykumar Sankaran <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c