]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Calculate the cursor position based on the crtc gui origin
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 12 Feb 2016 08:57:15 +0000 (09:57 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 14 Mar 2016 13:59:10 +0000 (14:59 +0100)
commit59954ae775bb9ffa6e70fd1c7a639d89bbb440da
treedcaf59129704f1a2fb28bf97ccdbf936a1f74121
parent5fdec45c26b0a0f723b1f0770bd7f89bd6a19484
drm/vmwgfx: Calculate the cursor position based on the crtc gui origin

Base the cursor position on the coordinate of the crtc origin in the
gui coordinate system rather than in the framebuffer coordinate system.

With explicit placement, these may differ (for example when two crtcs
scan out of the same framebuffer location).

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c