mbox series

[0/2] Fix native cursors with vmwgfx

Message ID 20250115044954.2496547-1-zack.rusin@broadcom.com (mailing list archive)
Headers show
Series Fix native cursors with vmwgfx | expand

Message

Zack Rusin Jan. 15, 2025, 4:49 a.m. UTC
vmwgfx had a number of cursor issues that related both to our handling
of dumb buffers and general detection when a cursor has actually changed.
Fix those issues and bump the kernel module version to allow userspace
to recognize fixed versions of the driver.

Zack Rusin (2):
  drm/vmwgfx: Refactor cursor handling
  drm/vmwgfx: Bump the minor version

 drivers/gpu/drm/vmwgfx/Makefile              |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c           |   6 +
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h           |   2 +
 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c | 844 +++++++++++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.h |  81 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c          |   3 -
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h          |  12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c      |   2 -
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c          | 838 +-----------------
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h          |  49 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c          |  10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c   |  40 +
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c         |  10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c         |  11 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c      |  25 +-
 15 files changed, 1018 insertions(+), 917 deletions(-)
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.h