Re: [PATCH] drm/bochs: Fix the ID mismatch error

From: Alistair Francis
Date: Thu Feb 21 2019 - 13:45:02 EST


On Thu, Feb 21, 2019 at 3:52 AM kraxel@xxxxxxxxxx <kraxel@xxxxxxxxxx> wrote:
>
> On Thu, Feb 21, 2019 at 12:33:03AM +0000, Alistair Francis wrote:
> > When running RISC-V QEMU with the Bochs device attached via PCIe the
> > probe of the Bochs device fails with:
> > [drm:bochs_hw_init] *ERROR* ID mismatch
> >
> > This was introduced by this commit:
> > 7780eb9ce8 bochs: convert to drm_dev_register
> >
> > To fix the error we ensure that pci_enable_device() is called before
> > bochs_load().
> >
> > Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx>
> > Reported-by: David Abdurachmanov <david.abdurachmanov@xxxxxxxxx>
>
> Pushed to drm-misc-fixes.

Thanks. Any chance this will make it into 5.0?

Alistair

>
> thanks,
> Gerd
>