[PATCH] drm/rockchip: support prime fd import

Stéphane Marchesin stephane.marchesin at gmail.com
Wed Feb 24 07:20:02 UTC 2016


On Tue, Feb 23, 2016 at 3:56 PM, Rob Clark <robdclark at gmail.com> wrote:
> On Tue, Feb 23, 2016 at 6:29 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> Hi Zach,
>>
>> On 2 February 2016 at 23:37, Zach Reizner <zachr at google.com> wrote:
>>> The prime fd to handle ioctl was not used with rockchip before. Support
>>> was added in order to support potential uses (e.g. zero-copy video
>>> decode, camera).
>>>
>> Similar patch came around a few months ago and got this reply [1]. If
>> the situation has changed (there is an open-source driver/user for
>> this) it should be clearly mentioned in the commit message, as opposed
>> to "in order to support potential uses".
>
> hmm, well it is not driver specific uabi, and we have let several
> other mali/img users do prime..
>
> I'm not sure, maybe those platforms can do a basic v4l <-> display
> thing w/ prime.  Although upstream tends to hurt a bit for camera
> support..

There used to be vgem, but that was reverted...

Stéphane

>
> BR,
> -R
>
>> Regards,
>> Emil
>>
>> [1] https://lists.freedesktop.org/archives/dri-devel/2015-November/094568.html
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list