[PATCH] Tell userspace if scanning out of an imported PRIME buffer is safe.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My past set of patches fix nouveau, radeon, and amdgpu breaking dma-buf sharing when
trying to scanout of an imported PRIME buffer. Driver-agnostic userspace can't safely
try to scanout of such a buffer, though, because the failure-mode is that subsequent
rendering isn't shown on screen.

This adds a DRM_CAP_PRIME_SCANOUT for userspace to detect when it's safe and sensible
to try and scanout of an imported PRIME buffer.

I know that i915 can do this, and nouveau/radeon/amdgpu can't (at the moment).
I do not know which other drivers might be able to support the DRIVER_PRIME_SCANOUT
feature. Suggestions welcome!

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux