[RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

Martin Fuzzey martin.fuzzey at flowbird.group
Tue Aug 7 09:18:26 UTC 2018


On 06/08/18 21:05, Rob Herring wrote:
> On Fri, Aug 3, 2018 at 1:50 PM Sean Paul <seanpaul at chromium.org> wrote:
>> Fwiw, I'd lean towards allowing DUMB allocation from the render nodes. I
>> understand it limits use cases that are undesirable, but it is also limiting
>> usecases that are desirable. So, given that people are going to get "creative"
>> regardless of how many safety railings we put up, we shouldn't make things
>> unnecessarily hard on other trying to Get Work Done.
> The problem with using render nodes is what if there isn't one? We
> require VGEM (and make VGEM allow dumb buffers) in that case?

Try to open the render node and fall back to the card node if it doesn't 
exist?

AFAICT VGEM doesn't provide contiguous buffers so it won't work for the 
imx-drm case.


Regards,

Martin



More information about the dri-devel mailing list