Skip to contentSkip to conversation

drm/vmwgfx: Remove unused vmw_kms_sou_do_bo_dirty

PATCH New [email protected] 1 participant 1 message Jun 14, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/vmwgfx: Remove unused vmw_kms_sou_do_bo_dirty

From: "Dr. David Alan Gilbert" <[email protected]>

The last use of vmw_kms_sou_do_bo_dirty() was removed in 2018 by commit 2f5544ff0300 ("drm/vmwgfx: Use atomic helper function for dirty fb IOCTL")

Remove it, and its helpers.

---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h  |   8 --
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 112 ---------------------------
 2 files changed, 120 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h +0 -8
index 511e29cdb987..9d8576a0acb5 100644
@@ -457,14 +457,6 @@ int vmw_kms_sou_do_surface_dirty(struct vmw_private *dev_priv,
 				 unsigned num_clips, int inc,
 				 struct vmw_fence_obj **out_fence,
 				 struct drm_crtc *crtc);
-int vmw_kms_sou_do_bo_dirty(struct vmw_private *dev_priv,
-			    struct vmw_framebuffer *framebuffer,
-			    struct drm_clip_rect *clips,
-			    struct drm_vmw_rect *vclips,
-			    unsigned int num_clips, int increment,
-			    bool interruptible,
-			    struct vmw_fence_obj **out_fence,
-			    struct drm_crtc *crtc);
 int vmw_kms_sou_readback(struct vmw_private *dev_priv,
 			 struct drm_file *file_priv,
 			 struct vmw_framebuffer *vfb,
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +0 -112

118 lines not on this page · raw message

Signature · 1 line
2.49.0