X will not start on a Thinkpad 240 using neomagic

Alex Bowden alex.bowden at outlook.com
Wed Jan 24 21:34:57 UTC 2018

> Does mapping the whole BAR work? If so it'd be trivial to change the
> driver to just do that instead, and it should be harmless.

As far as I can tell, no:

[root at tpad ~]# ./testneo
neomagic nm2160 found
phys_base: 0xfd000000 phys_len: 0x01000000
attempt pci_device_map_range of 0x01000000
pci_device_map_range: Invalid argument

00:09.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01) (prog-if 00 [VGA controller])
        Subsystem: IBM Device 0164
        Flags: medium devsel, IRQ 255
        Memory at fd000000 (32-bit, prefetchable) [size=16M]
        Memory at fea00000 (32-bit, non-prefetchable) [size=2M]
        Memory at fed00000 (32-bit, non-prefetchable) [size=1M]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]


More information about the xorg mailing list