All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 215003] apple_gmux fails to initialize and iGPU unclaimed on MacBook Pro 16" 2019
Date: Sun, 14 Nov 2021 07:33:01 +0000	[thread overview]
Message-ID: <bug-215003-2300-f5Jc3WM1U3@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-215003-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=215003

--- Comment #5 from Lukas Wunner (lukas@wunner.de) ---
Hm, why are runtime services disabled? Are you using "noefi" or "efi=noruntime"
on the command line or is this perhaps an RT kernel? Could you attach full
dmesg output?

Looking at the ACPI dump I notice that GMUX only has an 8 byte Memory32Fixed
region:

    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
    {
        Memory32Fixed (ReadWrite,
            0xFE0B0200,         // Address Base
            0x00000008,         // Address Length
        )
    })

On my pre-retina MacBookPro9,1 it's a 256 byte Decode16 region:

    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
    {
        IO (Decode16,
            0x0700,             // Range Minimum
            0x07FF,             // Range Maximum
            0x01,               // Alignment
            0xFF,               // Length
            )
    })

Apple already changed the I/O interface once when they switched to retina
displays in 2012: Before, registers where accessed directly. After, registers
where accessed through a mailbox interface which required 3 32-bit registers
for communication. It looks like they changed the interface again, however now
there's only a memory region with 8 bytes, so only 2 32-bit registers. It will
be necessary to reverse-engineer the new interface (again) to get support for
GMUX working on these newer machines.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2021-11-14  7:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13 11:47 [Bug 215003] New: apple_gmux fails to initialize and iGPU unclaimed on MacBook Pro 16" 2019 bugzilla-daemon
2021-11-13 11:49 ` [Bug 215003] " bugzilla-daemon
2021-11-13 13:04 ` bugzilla-daemon
2021-11-14  6:08 ` bugzilla-daemon
2021-11-14  6:12 ` bugzilla-daemon
2021-11-14  7:33 ` bugzilla-daemon [this message]
2021-11-14  8:11 ` bugzilla-daemon
2021-11-14  8:28 ` bugzilla-daemon

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=bug-215003-2300-f5Jc3WM1U3@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.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 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.