Skip to content
Commit 23f94551 authored by Carsten Behling's avatar Carsten Behling Committed by Rob Clark
Browse files

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: default avatarCarsten Behling <carsten.behling@gmail.com>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 8f7ca540
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment