public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/vmwgfx backport two fixes to v6.1.x branch
@ 2024-01-22 17:10 Jocelyn Falempe
  2024-01-22 17:10 ` [PATCH 1/2] drm/vmwgfx: Fix possible invalid drm gem put calls Jocelyn Falempe
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jocelyn Falempe @ 2024-01-22 17:10 UTC (permalink / raw)
  To: zack.rusin, stable, dri-devel; +Cc: Jocelyn Falempe

Hi,

I've backported this two commits:
f9e96bf19054 drm/vmwgfx: Fix possible invalid drm gem put calls
91398b413d03 drm/vmwgfx: Keep a gem reference to user bos in surfaces

They both fixes a950b989ea29 ("drm/vmwgfx: Do not drop the reference
to the handle too soon")
which has been backported to v6.1.x branch as 0a127ac97240

There was a lot of conflicts, and as I'm not familiar with the vmwgfx
driver, it's better to review and test them.
I've run a short test, and it worked, but that's certainly not enough.

Thanks,

Zack Rusin (2):
  drm/vmwgfx: Fix possible invalid drm gem put calls
  drm/vmwgfx: Keep a gem reference to user bos in surfaces

 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c       |  7 ++----
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  8 +++----
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h      | 20 ++++++++++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c  | 12 +++++------
 drivers/gpu/drm/vmwgfx/vmwgfx_gem.c      | 24 ++++++++++++++++-----
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c      | 10 ++++-----
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c  |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 18 ++++++++--------
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  5 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  | 27 +++++++-----------------
 10 files changed, 75 insertions(+), 59 deletions(-)


base-commit: fec3b1451d5febbc9e04250f879c10f8952e6bed
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-22 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 17:10 [PATCH 0/2] drm/vmwgfx backport two fixes to v6.1.x branch Jocelyn Falempe
2024-01-22 17:10 ` [PATCH 1/2] drm/vmwgfx: Fix possible invalid drm gem put calls Jocelyn Falempe
2024-01-22 17:10 ` [PATCH 2/2] drm/vmwgfx: Keep a gem reference to user bos in surfaces Jocelyn Falempe
2024-01-22 19:01 ` [PATCH 0/2] drm/vmwgfx backport two fixes to v6.1.x branch Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox