dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Meelis Roos <mroos@linux.ee>
Cc: sparclinux@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: PCI Radeon RV100 detection hang on sparc64
Date: Thu, 06 Sep 2012 18:55:51 +0200	[thread overview]
Message-ID: <1346950551.30263.196.camel@thor.local> (raw)
In-Reply-To: <alpine.SOC.1.00.1209061032360.371@math.ut.ee>

On Don, 2012-09-06 at 17:41 +0300, Meelis Roos wrote: 
> 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=1ff08000000 and size=40000) and tries to read 
> 2 bytes from there and hangs on reading bios[0].

Is the card initialized by OpenFirmware? E.g., does it display anything
before the kernel boots?


> With radeon.modeset=0, it boots [...]

Does X work with DRI enabled then?


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer

  parent reply	other threads:[~2012-09-06 16:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 14:41 PCI Radeon RV100 detection hang on sparc64 Meelis Roos
2012-09-06 16:51 ` Adam Jackson
2012-09-06 18:15   ` David Miller
2012-09-06 16:55 ` Michel Dänzer [this message]
2012-09-06 18:18   ` David Miller
2012-09-07  7:18     ` Dave Airlie
2012-09-19  7:51       ` mroos
2013-09-23 13:48       ` mroos
2013-09-23 19:06         ` Kjetil Oftedal
2013-09-23 20:36           ` David Miller
2013-09-23 21:14             ` mroos
2013-09-23 21:33               ` David Miller
2013-09-24 11:06                 ` Meelis Roos
2013-09-25 23:26                   ` Meelis Roos
2013-10-01  8:43               ` Meelis Roos
2014-04-04 20:52                 ` David Miller
2014-08-13  6:30                   ` David Miller
2014-08-19 11:17                     ` Meelis Roos
2014-08-25 14:48                       ` Meelis Roos
2014-08-26  2:46                         ` Michel Dänzer
2014-08-26  7:07                           ` Meelis Roos
2014-08-27  2:24                             ` Michel Dänzer
2014-08-30 19:20                               ` Kjetil Oftedal
2014-08-31  5:59                                 ` 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 14:38             ` Alex Deucher
2013-10-10 15:26               ` Meelis Roos
2013-10-10 17:02                 ` David Miller
2013-10-10 17:10                 ` Alex Deucher
2012-09-06 18:08 ` PCI Radeon RV100 detection hang on sparc64 David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346950551.30263.196.camel@thor.local \
    --to=michel@daenzer.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mroos@linux.ee \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox