]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: fix cursor ROI
authorRob Clark <robdclark@gmail.com>
Tue, 24 Feb 2015 19:47:57 +0000 (14:47 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 4 Mar 2015 23:23:40 +0000 (18:23 -0500)
commitac0fdbddf3dc4ecb098b6c55ade2a1d0a9b6610d
tree069ddbbd3ddef93fecb500b5f3ff842cd634679a
parenta983adeade20b9b047966f2dfab9997336d94485
drm/msm/mdp5: fix cursor ROI

If cursor is set near the edge of the screen, it is not valid to use the
new cursor width/height as the ROI dimensions.  Split out the ROI calc
and use it both cursor_set and cursor_move.

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