On Mon, Jun 16, 2014 at 02:13:16PM -0400, Rob Clark wrote:
[...]
> diff --git a/hw/xfree86/common/xf86platformBus.c
> b/hw/xfree86/common/xf86platformBus.c
[...]
> +static int
> +find_non_pci_driver(const char *busid, char *returnList[], int returnListMax)
> +{
> + /* Add more entries here if we ever return more than 4 drivers for
> + any device */
> + const char *driverList[5] = { NULL, NULL, NULL, NULL, NULL };
> + int i = 0;
> + char *p, *s;
> +
> + s = xstrdup(busid);
> + p = strtok(s, ":");
> +
> + if (strcmp(p, "platform"))
> + goto out;This isn't going to work on Tegra since we don't have a platform device there. drmGetBusid() returns "drm" on Tegra. Thierry
pgpyzLbiIItop.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
