summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorTomas M <tomas@slax.org>2026-10-27 03:23:23 +0200
committerZack Rusin <zack.rusin@broadcom.com>2026-11-16 15:09:33 -0500
commitc116d38c3ad3ccdc1153ee7713c0eafd62b1c235 (patch)
tree54ac2a7b3d39995e666e40037a8f1bd51bacdfc5 /rust/kernel/alloc/kvec/errors.rs
parent6baeb251d709d5f31f2a0ae89ca5ca054d0e04e7 (diff)
drm/vmwgfx: include legacy hotspots in GB-only cursor images
The guest-backed cursor path without cursor MOB support defines the image using only the hotspot from the plane state. Its position calculation also includes the legacy hotspot supplied through DRM_VMW_CURSOR_BYPASS. Xorg's xf86-video-vmware driver supplies its hotspot through that ioctl and loads the image with drmModeSetCursor(), which does not set a plane hotspot. The mismatched image and position hotspots displace the visible cursor by the legacy offset. Use the combined hotspot for both the GB-only image command and cursor position, matching the legacy and MOB image paths. Fixes: eef295a85082 ("drm/vmwgfx: Restore Guest-Backed only cursor plane support") Cc: stable@vger.kernel.org Assisted-by: LLM Signed-off-by: Tomas M <tomas@slax.org> Reviewed-by: Maaz Mombasawala <maaz.mombasawala@broadcom.com> Tested-by: fausten <yunfeng.li.nb@gmail.com> Signed-off-by: Zack Rusin <zack.rusin@broadcom.com> Link: https://patch.msgid.link/20261027211729.646988-4-zack.rusin@broadcom.com
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions