diff options
author | Carsten Behling <carsten.behling@googlemail.com> | 2018-07-16 19:49:56 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-07-25 07:51:05 -0400 |
commit | 23f9455157f62e2fc7fbe7654717bcb70eee543d (patch) | |
tree | 67cf5e082c13a2100ae66c064e27b1d28c480cd9 /include/video/videomode.h | |
parent | 8f7ca5409063ade228a8ea0cc77b5fe9877f8cf0 (diff) | |
download | linux-stable-23f9455157f62e2fc7fbe7654717bcb70eee543d.tar.gz linux-stable-23f9455157f62e2fc7fbe7654717bcb70eee543d.tar.bz2 linux-stable-23f9455157f62e2fc7fbe7654717bcb70eee543d.zip |
drm/msm/mdp5: negative x/y in cursor move
modesetting X11 driver may provide negative x/y cordinates in
mdp5_crtc_cursor_move call when rotation is enabled.
Cursor buffer can overlap down to its negative width/height.
ROI has to be recalculated for negative x/y indicating using the
lower/right corner of the cursor buffer and hotspot must be set
in MDP5_LM_CURSOR_XY_SRC_Y MDP5_LM_CURSOR_XY_SRC_X.
Signed-off-by: Carsten Behling <carsten.behling@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/video/videomode.h')
0 files changed, 0 insertions, 0 deletions