All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI Radeon RV100 detection hang on sparc64
@ 2012-09-06 14:41 ` Meelis Roos
  0 siblings, 0 replies; 62+ messages in thread
From: Meelis Roos @ 2012-09-06 14:41 UTC (permalink / raw)
  To: sparclinux, dri-devel

This is with initialyy unmodified 3.6.0-rc4-00101-g0809095 kernel in 
Ultra 10 (clean, without my "Video RAM" hack that I talked in other 
sparclinux posts). When I saw that Sun XVR-100 was detected fine by the 
kernel, I compiled radeon drm driver with modesetting enabled and tried 
it:

[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
PCI: Enabling device: (0000:02:02.0), cmd 82
[drm] initializing kernel modesetting (RV100 0x1002:0x5159 0x1002:0x0908).
[drm] register mmio base: 0x10000000
[drm] register mmio size: 32768
[drm:radeon_device_init] *ERROR* Unable to find PCI I/O BAR

And here the machine hangs. Debugging printk-s reveal that it does not 
find any active I/O port resources and then continues into initializing 
the card. Down in igp_read_bios_from_vram() it successfully ioremaps 
memory region 0 (vram_base\x1ff08000000 and size@000) and tries to read 
2 bytes from there and hangs on reading bios[0].

With radeon.modeset=0, it boots and I collected the following info:

02:02.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV100 QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices [AMD] nee ATI XVR-100 (supplied by Sun)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0 (2000ns min)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at 08000000 (32-bit, prefetchable) [sizedM]
        Region 1: I/O ports at 0400 [disabled] [size%6]
        Region 2: Memory at 10000000 (32-bit, non-prefetchable) [size2K]
        Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
        Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
        Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
        Expansion ROM at 10020000 [disabled] [size\x128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

# cat /proc/iomem 
1fc00400000-1fc0040000f : ffb dac
1fc00600000-1fc00600983 : ffb fbc
1ff00000000-1ffffffffff : /pci@1f,0
  1ff00002000-1ff00002fff : aic7xxx
  1ff000a0000-1ff000bffff : Video RAM area
  1ff000f0000-1ff000fffff : System ROM
  1ff11000000-1ff11ffffff : atyfb
  1ff12040000-1ff1204ffff : tg3
  1ffc0000000-1ffdfffffff : IOMMU
  1ffe0000000-1ffe000701f : sunhme
  1ffe1000000-1ffe1ffffff : atyfb
  1fff1000000-1fff1001fff : eeprom
  1fff1200000-1fff120000f : cs4231
  1fff13062f8-1fff13062ff : su
  1fff13083f8-1fff13083ff : su
  1fff1400000-1fff140003f : sab
  1fff1400040-1fff140007f : sab
  1fff1702000-1fff170200f : cs4231_pdma
  1fff1704000-1fff170400f : cs4231_cdma
  1fff1724000-1fff1724003 : power
  1fff1726000-1fff1726003 : auxio


-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 62+ messages in thread

end of thread, other threads:[~2014-08-31  6:01 UTC | newest]

Thread overview: 62+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 14:41 PCI Radeon RV100 detection hang on sparc64 Meelis Roos
2012-09-06 14:41 ` Meelis Roos
2012-09-06 16:51 ` Adam Jackson
2012-09-06 16:51   ` Adam Jackson
2012-09-06 18:15   ` David Miller
2012-09-06 18:15     ` David Miller
2012-09-06 16:55 ` Michel Dänzer
2012-09-06 16:55   ` Michel Dänzer
2012-09-06 18:18   ` David Miller
2012-09-06 18:18     ` David Miller
2012-09-07  7:18     ` Dave Airlie
2012-09-07  7:18       ` Dave Airlie
2012-09-19  7:51       ` mroos
2012-09-19  7:51         ` mroos
2013-09-23 13:48       ` mroos
2013-09-23 13:48         ` mroos
2013-09-23 19:06         ` Kjetil Oftedal
2013-09-23 19:06           ` Kjetil Oftedal
2013-09-23 20:36           ` David Miller
2013-09-23 20:36             ` David Miller
2013-09-23 21:14             ` mroos
2013-09-23 21:14               ` mroos
2013-09-23 21:33               ` David Miller
2013-09-23 21:33                 ` David Miller
2013-09-24 11:06                 ` Meelis Roos
2013-09-24 11:06                   ` Meelis Roos
2013-09-25 23:26                   ` Meelis Roos
2013-09-25 23:26                     ` Meelis Roos
2013-10-01  8:43               ` Meelis Roos
2013-10-01  8:43                 ` Meelis Roos
2014-04-04 20:52                 ` David Miller
2014-04-04 20:52                   ` David Miller
2014-08-13  6:30                   ` David Miller
2014-08-13  6:30                     ` David Miller
2014-08-19 11:17                     ` Meelis Roos
2014-08-19 11:17                       ` Meelis Roos
2014-08-25 14:48                       ` Meelis Roos
2014-08-25 14:48                         ` Meelis Roos
2014-08-26  2:46                         ` Michel Dänzer
2014-08-26  2:46                           ` Michel Dänzer
2014-08-26  7:07                           ` Meelis Roos
2014-08-26  7:07                             ` Meelis Roos
2014-08-27  2:24                             ` Michel Dänzer
2014-08-27  2:24                               ` Michel Dänzer
2014-08-30 19:20                               ` Kjetil Oftedal
2014-08-30 19:20                                 ` Kjetil Oftedal
2014-08-31  5:59                                 ` Meelis Roos
2014-08-31  5:59                                   ` Meelis Roos
2013-09-23 21:18           ` Meelis Roos
2013-09-23 21:18             ` Meelis Roos
2013-10-10 11:51           ` [PATCH] only try to find radeon IGP ROM on X86 Meelis Roos
2013-10-10 11:51             ` Meelis Roos
2013-10-10 14:38             ` Alex Deucher
2013-10-10 14:38               ` Alex Deucher
2013-10-10 15:26               ` Meelis Roos
2013-10-10 15:26                 ` Meelis Roos
2013-10-10 17:02                 ` David Miller
2013-10-10 17:02                   ` David Miller
2013-10-10 17:10                 ` Alex Deucher
2013-10-10 17:10                   ` Alex Deucher
2012-09-06 18:08 ` PCI Radeon RV100 detection hang on sparc64 David Miller
2012-09-06 18:08   ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.