Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

Gerd Hoffmann kraxel at redhat.com
Tue Oct 4 07:43:45 UTC 2016


  Hi,

> diff --git a/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
> b/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
> index a59d0e309bfc..1fcf739bf509 100644
> --- a/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
> @@ -68,6 +68,10 @@ int drm_virtio_init(struct drm_driver *driver,
> struct virtio_device *vdev)
>                 dev->pdev = pdev;
>                 if (vga)
>                         virtio_pci_kick_out_firmware_fb(pdev);
> +
> +               ret = drm_dev_set_unique(dev, dev_name(dev->pdev));
> +               if (ret)
> +                       goto err_free;
>         }

Approach looks sensible to me, I'll give it a try ...

cheers,
  Gerd



More information about the dri-devel mailing list