All of lore.kernel.org
 help / color / mirror / Atom feed
* Shareable bufmgr objects
@ 2014-09-11 11:33 Lionel Landwerlin
  2014-09-11 11:33 ` [PATCH] intel: make bufmgr_gem shareable from different API Lionel Landwerlin
  0 siblings, 1 reply; 12+ messages in thread
From: Lionel Landwerlin @ 2014-09-11 11:33 UTC (permalink / raw)
  To: dri-devel

Hi there,

Here is a small modification I had to make to get buffers shared
between Mesa and LibVA on Chrome OS. This is required to have
refcounting properly between the 2 API otherwise, Mesa might end up
calling exit() when the kernel tells it that one of the buffer object
used in a batch buffer is invalid :

http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/i965/intel_batchbuffer.c#n282

Thanks,

-
Lionel

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Shareable bufmgr objects v2
@ 2014-09-11 15:36 Lionel Landwerlin
  2014-09-11 15:36 ` [PATCH] intel: make bufmgr_gem shareable from different API Lionel Landwerlin
  0 siblings, 1 reply; 12+ messages in thread
From: Lionel Landwerlin @ 2014-09-11 15:36 UTC (permalink / raw)
  To: dri-devel

Following Chris' review, here is an updated patch using drmMMListHead.

I did a quick read of the benchmarks/tests files in igt, as far as I
can see, drm_intel_bufmgr_destroy() is always called before the drm
file descriptor is closed. So it seems this change shouldn't break
anything.

Cheers,

-
Lionel

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

end of thread, other threads:[~2014-09-12 10:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11 11:33 Shareable bufmgr objects Lionel Landwerlin
2014-09-11 11:33 ` [PATCH] intel: make bufmgr_gem shareable from different API Lionel Landwerlin
2014-09-11 11:52   ` Chris Wilson
2014-09-11 12:16     ` Daniel Stone
2014-09-11 12:21     ` Lionel Landwerlin
2014-09-11 12:29       ` Chris Wilson
  -- strict thread matches above, loose matches on Subject: below --
2014-09-11 15:36 Shareable bufmgr objects v2 Lionel Landwerlin
2014-09-11 15:36 ` [PATCH] intel: make bufmgr_gem shareable from different API Lionel Landwerlin
2014-09-11 15:53   ` Chris Wilson
2014-09-11 16:59     ` Lionel Landwerlin
2014-09-12  6:13       ` Chris Wilson
2014-09-12 10:27         ` Shareable bufmgr objects v3 Lionel Landwerlin
2014-09-12 10:27           ` [PATCH] intel: make bufmgr_gem shareable from different API Lionel Landwerlin
2014-09-12 10:41             ` Chris Wilson

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.