All of lore.kernel.org
 help / color / mirror / Atom feed
* Add CHANGE_HANDLE ioctl for drm gem v2
@ 2025-07-11 14:53 David Francis
  2025-07-11 14:53 ` [PATCH 1/2] drm: Add DRM prime interface to reassign GEM handle David Francis
  2025-07-11 14:53 ` [PATCH 2/2] drm: Move drm_gem ioctl kerneldoc to uapi file David Francis
  0 siblings, 2 replies; 8+ messages in thread
From: David Francis @ 2025-07-11 14:53 UTC (permalink / raw)
  To: dri-devel
  Cc: tvrtko.ursulin, Felix.Kuehling, David.YatSin, Chris.Freehill,
	Christian.Koenig, dcostantino, sruffell, simona, mripard,
	tzimmermann

This patch adds a new ioctl GEM_CHANGE_HANDLE which is needed by
amdgpu CRIU for dmabuf.

The ioctl allows a user to move a gem object to a new handle.

In this version, I have added kerneldoc comments for the new ioctl
in drm.h and have moved over the other drm_gem.c ioctl docs
to drm.h.

Accompanying changes:
kernel (for dmabuf CRIU support)
https://lore.kernel.org/dri-devel/20250617194536.538681-1-David.Francis@amd.com/
igt (for this ioctl)
https://gitlab.freedesktop.org/fdavid-amd/igt-gpu-tools
CRIU (for dmabuf CRIU support)
https://github.com/checkpoint-restore/criu/pull/2613



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

end of thread, other threads:[~2025-07-18  7:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11 14:53 Add CHANGE_HANDLE ioctl for drm gem v2 David Francis
2025-07-11 14:53 ` [PATCH 1/2] drm: Add DRM prime interface to reassign GEM handle David Francis
2025-07-17  6:23   ` Zhang, Jesse(Jie)
2025-07-11 14:53 ` [PATCH 2/2] drm: Move drm_gem ioctl kerneldoc to uapi file David Francis
2025-07-11 21:55   ` Simona Vetter
2025-07-14  9:50     ` Christian König
2025-07-14 12:40       ` Simona Vetter
2025-07-18  7:24         ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.