public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* RFC: Unpinned DMA-buf handling
@ 2019-10-29 10:40 Christian König
  2019-10-29 10:40 ` [Intel-gfx] " Christian König
                   ` (8 more replies)
  0 siblings, 9 replies; 32+ messages in thread
From: Christian König @ 2019-10-29 10:40 UTC (permalink / raw)
  To: dri-devel, sumit.semwal, linaro-mm-sig, linux-media, intel-gfx

The basic idea stayed the same since the last version of those patches. The exporter can provide explicit pin/unpin functions and the importer a move_notify callback. This allows us to avoid pinning buffers while importers have a mapping for them.

In difference to the last version the locking changes were separated from this patchset and committed to drm-misc-next.

This allows drivers to implement the new locking semantics without the extra unpinned handling, but of course the changed locking semantics is still a prerequisite to the unpinned handling.

The last time this set was send out the discussion ended by questioning if the move_notify callback was really the right approach of notifying the importers that a buffer is about to change its placement. A possible alternative would be to add a special crafted fence object instead.

Let's discuss on the different approaches once more,
Christian.


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-02-18 17:17 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-29 10:40 RFC: Unpinned DMA-buf handling Christian König
2019-10-29 10:40 ` [Intel-gfx] " Christian König
2019-10-29 10:40 ` [PATCH 1/5] dma-buf: add dynamic DMA-buf handling v14 Christian König
2019-10-29 10:40   ` [Intel-gfx] " Christian König
2019-11-05 10:20   ` Daniel Vetter
2019-11-05 10:20     ` [Intel-gfx] " Daniel Vetter
2020-02-18 13:20     ` Christian König
2020-02-18 14:14       ` Daniel Vetter
2019-10-29 10:40 ` [PATCH 2/5] drm/ttm: remove the backing store if no placement is given Christian König
2019-10-29 10:40   ` [Intel-gfx] " Christian König
2019-10-29 10:40 ` [PATCH 3/5] drm/amdgpu: use allowed_domains for exported DMA-bufs Christian König
2019-10-29 10:40   ` [Intel-gfx] " Christian König
2019-10-29 10:40 ` [PATCH 4/5] drm/amdgpu: add amdgpu_dma_buf_pin/unpin Christian König
2019-10-29 10:40   ` [Intel-gfx] " Christian König
2019-10-29 10:40 ` [PATCH 5/5] drm/amdgpu: implement amdgpu_gem_prime_move_notify Christian König
2019-10-29 10:40   ` [Intel-gfx] " Christian König
2019-11-05 10:52   ` Daniel Vetter
2019-11-05 10:52     ` [Intel-gfx] " Daniel Vetter
2019-11-05 13:39     ` Christian König
2019-11-05 13:39       ` [Intel-gfx] " Christian König
2019-11-05 13:50       ` Daniel Vetter
2019-11-05 13:50         ` [Intel-gfx] " Daniel Vetter
2019-11-05 15:20         ` Koenig, Christian
2019-11-05 15:20           ` [Intel-gfx] " Koenig, Christian
2019-11-05 15:23           ` Daniel Vetter
2019-11-05 15:23             ` [Intel-gfx] " Daniel Vetter
2019-10-29 17:38 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] dma-buf: add dynamic DMA-buf handling v14 Patchwork
2019-10-29 17:38   ` [Intel-gfx] " Patchwork
2019-10-29 18:09 ` ✗ Fi.CI.BAT: failure " Patchwork
2019-10-29 18:09   ` [Intel-gfx] " Patchwork
2019-11-05 13:46 ` RFC: Unpinned DMA-buf handling Daniel Vetter
2019-11-05 13:46   ` [Intel-gfx] " Daniel Vetter

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