Public bug reported:

On the HiSilicon D05 (arm64) board, X crashes when started. [0]

The crash is attributable to the bus ID that the hibmc driver reports for the 
hibmc graphics card on the board. In particular, the bus id is missing the 
"pci:" prefix that most other cards provide: [1]
- The busid reported on the arm64 system is "0007:a1:00.0"
- The busid reported on a amd64 system is "pci:0000:00:02.0"

X tests for this prefix. A missing prefix for PCI cards leads to an Xorg
crash.

A patch is attached, which prevents the crash. [2][3]

I submitted the patch upstream. However, upstream is refactoring the drm
core, and set_busid is going away, so I'm working on testing if this
will be necessary once that lands. [4]

This bug exists to help keep track of the status of this fix across
upstream and then into our kernels.

[0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991 
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/16
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/17
[3]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/29
[4]: https://www.spinics.net/lists/dri-devel/msg143831.html

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Daniel Axtens (daxtens)
         Status: In Progress

** Patch added: "0001-drm-hibmc-Use-set_busid-function-from-drm-core.patch"
   
https://bugs.launchpad.net/bugs/1698700/+attachment/4898282/+files/0001-drm-hibmc-Use-set_busid-function-from-drm-core.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698700

Title:
  hibmc driver does not include "pci:" prefix in bus ID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1698700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to