Adding the dri-devel list, since this is a core DRM patch.
On 04/07/17 06:11 AM, Felix Kuehling wrote:
On 4 Jul. 2017 11:23, "Michel Dänzer" michel@daenzer.net wrote:
Adding the dri-devel list, since this is a core DRM patch.
On 04/07/17 06:11 AM, Felix Kuehling wrote:
From: Christian König christian.koenig@amd.com
This allows drivers to check if a DMA-buf contains a GEM object or not.
Please use an accessor function. I doubt it'll be a fast path.
Dave.
*dma_buf,
*dma_buf,
struct drm_info_list *files,
-- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
On Tue, Jul 04, 2017 at 02:55:00PM +1000, Dave Airlie wrote:
I think even better if that helper checks against the driver instance too, since that's really the answer you want drm_prime_try_cast_to_gem_bo or similar, which will return NULL if it's not a prime dma-buf or not one for the current driver instance. Feel free to improve the naming :-) -Daniel
Am 04.07.2017 um 08:26 schrieb Daniel Vetter:
Yeah, agree with that approach.
Additional to that please split this set from the patches which change the hardware config.
That should make it much easier to review, Christian.
dri-devel@lists.freedesktop.org