[pasemi] Radeon HD graphics card not recognised after the powerpc-4.8-1 commit

Christian Zigotzky chzigotzky at xenosoft.de
Thu Aug 4 23:25:40 AEST 2016


Hi All,

I figured out that the Git kernel (4.8) successfully detected my Radeon 
HD6870 but Xorg can't access it.

The reason is, that the BusID has changed between the kernel 4.7 and 4.8.

Kernel 4.7:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] Barts XT [Radeon HD 6870]

xorg.conf:

Section "Device"
BusID       "PCI:1:0:0"

Git kernel (4.8):

e900:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] Barts XT [Radeon HD 6870]

How does the new BusID look like in the xorg.conf?

dmesg | grep -i radeon

     [    0.997471] [drm] radeon kernel modesetting enabled.
     [    1.171136] radeon e900:01:00.0: VRAM: 1024M 0x0000000000000000 
- 0x000000003FFFFFFF (1024M used)
     [    1.171141] radeon e900:01:00.0: GTT: 1024M 0x0000000040000000 - 
0x000000007FFFFFFF
     [    1.171270] [drm] radeon: 1024M of VRAM memory ready
     [    1.171273] [drm] radeon: 1024M of GTT memory ready.
     [    1.176557] [drm] radeon: dpm initialized
     [    1.212690] radeon e900:01:00.0: WB enabled
     [    1.212697] radeon e900:01:00.0: fence driver on ring 0 use gpu 
addr 0x0000000040000c00 and cpu addr 0xc00000026dbdbc00
     [    1.212702] radeon e900:01:00.0: fence driver on ring 3 use gpu 
addr 0x0000000040000c0c and cpu addr 0xc00000026dbdbc0c
     [    1.219475] radeon e900:01:00.0: fence driver on ring 5 use gpu 
addr 0x0000000000072118 and cpu addr 0xd0000800901b2118
     [    1.219485] radeon e900:01:00.0: radeon: MSI limited to 32-bit
     [    1.219530] [drm] radeon: irq initialized.
     [    2.070343] [drm] Radeon Display Connectors
     [    2.917509] radeon e900:01:00.0: fb0: radeondrmfb frame buffer 
device
     [    2.923810] [drm] Initialized radeon 2.46.0 20080528 for 
e900:01:00.0 on minor 0

dmesg | grep -i e900:01:00.0

     [    0.152680] pci e900:01:00.0: [1002:6738] type 00 class 0x030000
     [    0.152694] pci e900:01:00.0: calling .pci_dev_pdn_setup+0x0/0x3c
     [    0.152710] pci e900:01:00.0: reg 0x10: [mem 
0x90000000-0x9fffffff 64bit pref]
     [    0.152722] pci e900:01:00.0: reg 0x18: [mem 
0xa0020000-0xa003ffff 64bit]
     [    0.152731] pci e900:01:00.0: reg 0x20: [io  0x2000-0x20ff]
     [    0.152744] pci e900:01:00.0: reg 0x30: [mem 
0xa0000000-0xa001ffff pref]
     [    0.152755] pci e900:01:00.0: calling 
.pcibios_fixup_resources+0x0/0x110
     [    0.152763] pci e900:01:00.0: calling .quirk_no_pm_reset+0x0/0x40
     [    0.152804] pci e900:01:00.0: supports D1 D2
     [    0.494871] pci e900:01:00.0: calling .fixup_vga+0x0/0x3c
     [    1.171136] radeon e900:01:00.0: VRAM: 1024M 0x0000000000000000 
- 0x000000003FFFFFFF (1024M used)
     [    1.171141] radeon e900:01:00.0: GTT: 1024M 0x0000000040000000 - 
0x000000007FFFFFFF
     [    1.212690] radeon e900:01:00.0: WB enabled
     [    1.212697] radeon e900:01:00.0: fence driver on ring 0 use gpu 
addr 0x0000000040000c00 and cpu addr 0xc00000026dbdbc00
     [    1.212702] radeon e900:01:00.0: fence driver on ring 3 use gpu 
addr 0x0000000040000c0c and cpu addr 0xc00000026dbdbc0c
     [    1.219475] radeon e900:01:00.0: fence driver on ring 5 use gpu 
addr 0x0000000000072118 and cpu addr 0xd0000800901b2118
     [    1.219485] radeon e900:01:00.0: radeon: MSI limited to 32-bit
     [    2.917509] radeon e900:01:00.0: fb0: radeondrmfb frame buffer 
device
     [    2.923810] [drm] Initialized radeon 2.46.0 20080528 for 
e900:01:00.0 on minor 0

FBDEV with the Git kernel (4.8):

Fatal server error:
xf86MapLegacyIO(): domain out of range

Cheers,

Christian

On 03 August 2016 at 12:53 PM, Benjamin Herrenschmidt wrote:
> On Wed, 2016-08-03 at 11:03 +0200, Christian Zigotzky wrote:
>> I reverted the commit "powerpc-4.8-1" and Xorg works. The commit
>> "powerpc-4.8-1" is the problem.
>>
>> Link:
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bad60e6f259a01cf9f29a1ef8d435ab6c60b2de9
>>
>> Which source code modification in the commit "powerpc-4.8-1" could be
>> the problem?
> This is a merge, not a commit. Can you bisect down that branch ? Also
> include the kernel dmesg log.
>
> Cheers,
> Ben.
>
>



More information about the Linuxppc-dev mailing list