mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexander Fischer <alexander.fischer@kait2en.org>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
	"Aditya Garg" <aditya.garg@linux.dev>
Cc: "Lukas Wunner" <lukas@wunner.de>,
	"Jani Nikula" <jani.nikula@linux.intel.com>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
	"Joonas Lahtinen" <joonas.lahtinen@linux.intel.com>,
	"Tvrtko Ursulin" <tursulin@ursulin.net>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"José Roberto de Souza" <jose.souza@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	"Andre Eikmeyer" <dev@deq.rocks>,
	"Yossef Osman" <yossef.osman@proton.me>
Subject: Re: [PATCH RESEND] drm/i915/psr: enable PSR on Apple T2 eDP panels
Date: Sun, 15 Nov 2026 15:34:22 +0100	[thread overview]
Message-ID: <b58095131bb7a588aafd5b5b0a8cd5f754c21971.camel@kait2en.org> (raw)
In-Reply-To: <avcpZt3CkBJvz49o@intel.com>

Hi Ville,

Thanks for reviewing this.

> Which source OUI does the Apple driver write there?

When I first tried to get PSR working, I also tried writing Apple's
00:10:fa from i915 before link training. It made no difference. I then
traced macOS and found the extra writes in this patch. With those
added, PSR worked, leaving i915's Intel source OUI unchanged.

After your question, I read back 0x300-0x302 on the MacBookPro16,2
under macOS 26.6.1 and got 00 00 00 twice. The same read method
returned the expected sink identity at 0x400. I haven't captured boot,
so I can't say whether a different source OUI was set earlier.

> Maybe these should include "SOURCE" vs. "SINK" in the name as well.

Agreed. I'll use APPLE_SOURCE_PSR_SETUP for 0x321 and APPLE_SINK_PSR_*
for the other registers, and update the comment.

> This is some other device on these systems? Can't just match on the
GPU subsys vendor/device + sink OUI alone?

Yes, 106b:1801 is the separate T2 Bridge Controller. We only check its
presence to restrict the quirk to T2 systems and retain NO_PSR on older
untested Macs. The current subsystem device ID is a wildcard.

Specific GPU subsystem vendor/device pairs plus the sink OUI could
replace this. I chose T2 detection to avoid a per-model list; the five
tested models are only a subset of what matches. If you prefer explicit
subsystem IDs, I can collect and verify those for the tested machines.

Best regards,
Alex

      reply	other threads:[~2026-11-15 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 16:59 Aditya Garg
2026-11-13 15:14 ` Ville Syrjälä
2026-11-15 14:34   ` Alexander Fischer [this message]

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=b58095131bb7a588aafd5b5b0a8cd5f754c21971.camel@kait2en.org \
    --to=alexander.fischer@kait2en.org \
    --cc=aditya.garg@linux.dev \
    --cc=airlied@gmail.com \
    --cc=dev@deq.rocks \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=jose.souza@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona@ffwll.ch \
    --cc=tursulin@ursulin.net \
    --cc=ville.syrjala@linux.intel.com \
    --cc=yossef.osman@proton.me \
    /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

all inboxes | Powered by JetHome®