This commit fixes the xf86-video-modesetting driver for the GPU device in the Loongson 7A2000 bridge chip. There are two fixes:
Enable udev_kms when configuring the package. This is needed so the platform bus support is compiled for the modesetting driver.
Patch the modesetting driver to accept the PCI device class 0x4 subclass 0x0 (Multimedia Video Controllers). This is because the GPUs in LS7A2000 identifies as a Multimedia Video Controller.
With these changes the modesetting driver works flawlessly against both the upstream loongson KMS driver as well as the gsgpu kernel driver that I maintain.
This commit fixes the xf86-video-modesetting driver for the GPU device in the Loongson 7A2000 bridge chip. There are two fixes:
With these changes the modesetting driver works flawlessly against both the upstream loongson KMS driver as well as the gsgpu kernel driver that I maintain.