[Mesa-dev] [PATCH] egl/dri2: implement platform_null.

Frank Binns frank.binns at imgtec.com
Fri Jan 23 00:17:50 PST 2015


On 23/01/15 01:11, Rob Clark wrote:
> On Thu, Jan 22, 2015 at 4:36 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> +static const char* node_path_fmt_card = "/dev/dri/card%d";
>> You can reuse the DRM_DIR_NAME + DRM_DEV_NAME macros (from xf86drm.h)
>> for this.
>>
>>> +static const char* node_path_fmt_render = "/dev/dri/renderD%d";
>> There is no macro for the renderD%d, although you can still use
>> DRM_DIR_NAME for the path.
> I suppose for consistency, it wouldn't be a horrible idea to add the
> missing macro to libdrm

I've already posted a couple of patches related to this:
http://lists.freedesktop.org/archives/dri-devel/2015-January/075449.html

Thanks
Frank

>
> (although to avoid libdrm version bump dependency from mesa side, I'm
> fine with open-coding it for now in mesa and clean up some time after
> there has been a libdrm release)
>
> BR,
> -R
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list