v2: Rebase on top of the rendernode changes.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (v1)
Reviewed-by: Francisco Jerez <currojerez@riseup.net> (v1)
* \param auth_x If true, the pipe-loader will attempt to
* authenticate with the X server.
*/
-boolean
+bool
pipe_loader_drm_probe_fd(struct pipe_loader_device **dev, int fd,
boolean auth_x);
#endif
}
-boolean
+bool
pipe_loader_drm_probe_fd(struct pipe_loader_device **dev, int fd,
boolean auth_x)
{
int vendor_id, chip_id;
if (!ddev)
- return FALSE;
+ return false;
if (loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) {
ddev->base.type = PIPE_LOADER_DEVICE_PCI;
goto fail;
*dev = &ddev->base;
- return TRUE;
+ return true;
fail:
FREE(ddev);
- return FALSE;
+ return false;
}
static int