<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:luckylud@free.fr" title="luckylud@free.fr">luckylud@free.fr</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=26891">bug 26891</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>luckylud@free.fr
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=26891#c44">Comment # 44</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=26891">bug 26891</a>
              from <span class="vcard"><a class="email" href="mailto:luckylud@free.fr" title="luckylud@free.fr">luckylud@free.fr</a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=26891#c43">comment #43</a>)
<span class="quote">> Seems to be my bad.  I've got some extra patches that aren't in 3.6 to make
> this EFI stub booting thing work (not that the actual graphics switching
> works for me at the moment).  They can be downloaded here:

> <a href="http://people.canonical.com/~sforshee/apple-gmux-patches/">http://people.canonical.com/~sforshee/apple-gmux-patches/</a>

> However, I've been just rebasing them in my git tree for a while so I don't
> know if they cleanly apply.</span >

Hi, 

My Hardware : macbook pro 8.2
OS: Ubuntu 12.04

I've tested on linux 3.6.2 with patchs 0002 to 0008 only, the others one are
already included in 3.6.2

Linux EFI stub boot with the following options :

[    0.000000] Kernel Command line: vmlinuz-3.6.2.efi root=UUID=xxxxxxxx ro
add_efi_memmap i915.lvds_channel_mode=2 i915.modeset=1 radeon.modeset=1
elevator=noop vt.handoff=7 initrd=EFI\gmux\initrd.img-3.6.2


Good news, the radeon card is recognised with an EFI stub boot only !

But the screens stay black !! (lcd panel and hdmi) ..., X is started because I
heard lightdm ubuntu sound, but all are black, no X and no console frame
buffer.


grep drm /var/log/dmesg.0

[    2.657608] [drm] Initialized drm 1.1.0 20060810
[    2.714673] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    2.714678] [drm] Driver supports precise vblank timestamp query.
[    2.716738] [drm:intel_panel_setup_backlight] *ERROR* Failed to get maximum
backlight value
[    2.759521] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[    2.850547] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit
banging on pin 2
[    2.875632] fbcon: inteldrmfb (fb0) is primary device
[    3.038809] fb0: inteldrmfb frame buffer device
[    3.038829] drm: registered panic notifier
[    3.187709] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor
0
[    5.529949] [drm] radeon kernel modesetting enabled.
[    5.530228] [drm] initializing kernel modesetting (TURKS 0x1002:0x6741
0x106B:0x00E2).
[    5.530299] [drm] register mmio base: 0xB0800000
[    5.530301] [drm] register mmio size: 131072
[    5.530343] [drm] GPU not posted. posting now...
[    5.545249] [drm] Detected VRAM RAM=1024M, BAR=256M
[    5.545252] [drm] RAM width 128bits DDR
[    5.545356] [drm] radeon: 1024M of VRAM memory ready
[    5.545358] [drm] radeon: 512M of GTT memory ready.
[    5.545378] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    5.545380] [drm] Driver supports precise vblank timestamp query.
[    5.545512] [drm] radeon: irq initialized.
[    5.545516] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    5.545871] [drm] probing gen 2 caps for device 8086:101 = 2/0
[    5.545874] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=0
[    5.545959] [drm] Loading TURKS Microcode
[    5.765427] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[    5.787353] [drm] ring test on 0 succeeded in 2 usecs
[    5.787761] [drm] ib test on ring 0 succeeded in 0 usecs
[    5.790458] [drm] Radeon Display Connectors
[    5.790462] [drm] Connector 0:
[    5.790464] [drm]   LVDS-2
[    5.790467] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c
0x647c
[    5.790469] [drm]   Encoders:
[    5.790471] [drm]     LCD1: INTERNAL_UNIPHY
[    5.790473] [drm] Connector 1:
[    5.790475] [drm]   DP-2
[    5.790476] [drm]   HPD1
[    5.790479] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c
0x643c
[    5.790481] [drm]   Encoders:
[    5.790482] [drm]     DFP1: INTERNAL_UNIPHY1
[    5.790484] [drm] Connector 2:
[    5.790486] [drm]   DP-3
[    5.790487] [drm]   HPD2
[    5.790490] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c
0x644c
[    5.790491] [drm]   Encoders:
[    5.790493] [drm]     DFP2: INTERNAL_UNIPHY1
[    5.790495] [drm] Connector 3:
[    5.790497] [drm]   DP-4
[    5.790498] [drm]   HPD3
[    5.790501] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c
0x645c
[    5.790503] [drm]   Encoders:
[    5.790505] [drm]     DFP3: INTERNAL_UNIPHY2
[    5.790649] [drm] Special thermal controller config
[    5.793123] [drm] radeon: power management initialized
[    6.213991] [drm] fb mappable at 0x90142000
[    6.213993] [drm] vram apper at 0x90000000
[    6.213994] [drm] size 8294400
[    6.213996] [drm] fb depth is 24
[    6.213997] [drm]    pitch is 7680
[    6.214080] fb1: radeondrmfb frame buffer device
[    6.214085] [drm] Initialized radeon 2.24.0 20080528 for 0000:01:00.0 on
minor 1


grep vga_switcheroo /var/log/dmesg.0
[    4.279348] vga_switcheroo: enabled</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>