<p dir="ltr"><br>
On 30 Mar 2015 5:58 am, "Jarkko Nikula" <<a href="mailto:jarkko.nikula@bitmer.com">jarkko.nikula@bitmer.com</a>> wrote:<br>
><br>
> Via DRM driver does not get autoloaded due missing MODULE_DEVICE_TABLE when<br>
> built as a module.<br>
></p>
<p dir="ltr">NAK, this isn't a kms driver, so the X server is required to load it when it needs it,</p>
<p dir="ltr">Dave.</p>
<p dir="ltr">> Signed-off-by: Jarkko Nikula <<a href="mailto:jarkko.nikula@bitmer.com">jarkko.nikula@bitmer.com</a>><br>
> ---<br>
> drivers/gpu/drm/via/via_drv.c | 1 +<br>
> 1 file changed, 1 insertion(+)<br>
><br>
> diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c<br>
> index ed8aa8ff861a..f654c6f9d97f 100644<br>
> --- a/drivers/gpu/drm/via/via_drv.c<br>
> +++ b/drivers/gpu/drm/via/via_drv.c<br>
> @@ -56,6 +56,7 @@ static void via_driver_postclose(struct drm_device *dev, struct drm_file *file)<br>
> static struct pci_device_id pciidlist[] = {<br>
> viadrv_PCI_IDS<br>
> };<br>
> +MODULE_DEVICE_TABLE(pci, pciidlist);<br>
><br>
> static const struct file_operations via_driver_fops = {<br>
> .owner = THIS_MODULE,<br>
> --<br>
> 2.1.4<br>
><br>
> _______________________________________________<br>
> dri-devel mailing list<br>
> <a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</p>