ACK: [PATCH][Zesty][SRU 1/1] UBUNTU: SAUCE: drm: hibmc: Use set_busid function from drm core

Seth Forshee seth.forshee at canonical.com
Tue Jun 20 13:24:37 UTC 2017


On Tue, Jun 20, 2017 at 01:53:47PM +1000, Daniel Axtens wrote:
> BugLink: https://bugs.launchpad.net/bugs/1698700
> 
> Currently, calling drmGetBusid from libdrm on a hibmc VGA
> card returns a string like "0007:a1:00.0".
> 
> The busid reported by most cards begins with "pci:". For
> example, on an amd64 system, a VGA card reported
> "pci:0000:00:02.0".
> 
> The missing "pci:" prefix confuses Xorg and leads to crashes
> and other misbehaviour.[0]
> 
> Use the standard helper from the drm core to set the busid to
> include the "pci:" prefix. This is done by many other drivers.
> 
> With this patch, Xorg can be run successfully.
> 
> [0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991
> 
> Cc: Xinliang Liu <z.liuxinliang at hisilicon.com>
> Cc: Rongrong Zou <zourongrong at gmail.com>
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Looks reasonable, limited regression potential.

Acked-by: Seth Forshee <seth.forshee at canonical.com>

Also applied to artful/master-next and unstable/master.




More information about the kernel-team mailing list