[Mesa-dev] Merging VC4 driver

Eric Anholt eric at anholt.net
Wed Aug 6 15:10:45 PDT 2014


Roland Scheidegger <sroland at vmware.com> writes:

> Am 06.08.2014 22:33, schrieb Eric Anholt:

>> + * When building using the simulator (on x86), we advertise ourselves as the
>> + * i965 driver so that you can just make a directory with a link from
>> + * i965_dri.so to the built vc4_dri.so, and point LIBGL_DRIVERS_PATH to that
>> + * on your i965-using host to run the driver under simulation.
>> + *
>> + * This is, of course, incompatible with building with the ilo driver, but you
>> + * shouldn't be building that anyway.
>> + */
>> +PUBLIC const __DRIextension **__driDriverGetExtensions_i965(void)
>> +{
>> +   globalDriverAPI = &galliumdrm_driver_api;
>> +   return galliumdrm_driver_extensions;
>> +}
>> +#endif
> I have no idea how that simulator works, but this looks like a fairly
> gross hack to me. Couldn't you use something similar to how the software
> based drivers are loaded or anything like that?

I need a DRI fd and normal DRI buffer management from a host x server
(which I interact with using the dumb ioctls).  Are you thinking of
something that would provide that in a simpler way?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140806/1be582b3/attachment.sig>


More information about the mesa-dev mailing list