libdrm and platform devices?

Dave Airlie airlied at gmail.com
Fri Mar 2 04:02:21 PST 2012


>
> I have a drm device on the platform bus, similar to the exynos driver.
> right now libdrm (at least the tests included in libdrm) refuses to open
> the device because i915, nouveau, radeon and vmwgfx is all they know
> about. Looking at the libdrm code it is not obvious how to fix this
> (except for adding "exynos", "mydevice", "myotherdevice" to the module
> table which seems awkward and not very futureproof). Any hints or
> thoughts how to proceed here?

libdrm tests aren't really used that much, and it might be easier to
just not care.

people just hack on them for their platforms and sometimes someone
pushes one in.

You more likely want specific tests for your platform like intel-gpu-tools.

Dave.
>
> Thanks
>  Sascha
>
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list