drm/msm/mdp5: clip img size to src size
authorRob Clark <robdclark@gmail.com>
Wed, 2 Nov 2016 13:51:06 +0000 (09:51 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 26 Nov 2016 20:45:17 +0000 (15:45 -0500)
commit394da4b8f37e6ceceed68821957de5fc9e22b69b
treeb1cb7a61c689658fb5cad379b86ec88d6e926e8e
parent7ed216e53cb98683636d745dacf0406af7629100
drm/msm/mdp5: clip img size to src size

If fb dimensions are larger than what can be scanned out, but the src
dimensions are not, the hw can still handle this.  So clip.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c