# Re: \[PATCH\] video: fbdev: offb: Call pci\_enable\_device() before using the PCI VGA device

- From: Tomi Valkeinen \<hidden\>
- Date: 2016-09-27 07:55:33 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2016/09/13466611
- Thread: https://ratatoskr.run/linux-fbdev/2016/09/13466609/t.md

```text
On 13/09/16 08:53, Yongji Xie wrote:
> Currently the offb module will use the PCI VGA device as frame
> buffer device without calling something like pci_enable_device().
> However, this would cause some problem if we disable memory
> decoding of the upstream bridge before. When the console driver
> issued memory access to the VGA device, the access cannot be
> supported by the bridge which will cause EEH error on Power machine.
> 
> Signed-off-by: Yongji Xie <redacted>
> ---
>  drivers/video/fbdev/offb.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)

Thanks, queued for 4.9.

 Tomi

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2016/09/13466611/attachment/0) (application/pgp-signature, 819 bytes)
