Probably not best solution yet but closer.

commit dd1aa1f2fb9d91d766e020ac5c2cf474ce951788
Author: Marcin Juszkiewicz <[email protected]>
Date:   Wed Sep 9 14:53:51 2015 +0200

    xserver: ignore boot_vga on AArch64
    
    AArch64 machines firmware does not initialize graphics output so
    boot_vga is not set.
    
    Without this patch Xserver needs to be told where gfx card is by
    providing BusId entry in xorg.conf file.
    
    Signed-off-by: Marcin Juszkiewicz <[email protected]>

diff --git a/hw/xfree86/common/xf86platformBus.c 
b/hw/xfree86/common/xf86platformBus.c
index f1e9423..9dd56ec 100644
--- a/hw/xfree86/common/xf86platformBus.c
+++ b/hw/xfree86/common/xf86platformBus.c
@@ -136,10 +136,14 @@ platform_find_pci_info(struct xf86_platform_device *pd, 
char *busid)
     if (info) {
         pd->pdev = info;
         pci_device_probe(info);
+#ifndef __aarch64__
         if (pci_device_is_boot_vga(info)) {
+#endif
             primaryBus.type = BUS_PLATFORM;
             primaryBus.id.plat = pd;
+#ifndef __aarch64__
         }
+#endif
     }
     pci_iterator_destroy(iter);
 
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to