From: Jani Nikula <jani.nikula@linux.intel.com>
To: Atharva Tiwari <atharvatiwarilinuxdev@gmail.com>
Cc: airlied@gmail.com, atharvatiwarilinuxdev@gmail.com,
dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, joonas.lahtinen@linux.intel.com,
linux-kernel@vger.kernel.org, rodrigo.vivi@intel.com,
simona@ffwll.ch, tursulin@ursulin.net,
ville.syrjala@linux.intel.com
Subject: Re: [PATCH 2/2] drm/i915/display: Disable display for iMac's
Date: Wed, 28 Jan 2026 13:41:59 +0200 [thread overview]
Message-ID: <c4cc37ed9b626155706d5b167935c65eb5fc139d@intel.com> (raw)
In-Reply-To: <20260127183924.1109-1-atharvatiwarilinuxdev@gmail.com>
On Tue, 27 Jan 2026, Atharva Tiwari <atharvatiwarilinuxdev@gmail.com> wrote:
>>At a glance, this seems like the appropriate level.
>>
>> What if you drop patch 2 and supply i915.disable_display=1 module
>> parameter? Or return false from intel_display_device_enabled().
>
> I added the i915.disable_display=1 module parameter and removed the patch
> , but then the display just goes blank, here are some logs:
Mmh, okay. Honestly, I still feel like this would be the better thing to
do, but I don't think I have the time to debug this further. Feels like
a rabbit hole. ;)
So I guess let's go with ignoring display completely. The way to go is
to extend has_no_display() with a struct dmi_system_id array, and use
dmi_check_system() on it. Even if it's just one, it'll be so much easier
to extend later on.
Something like this, completely untested of course:
static bool has_no_display(struct pci_dev *pdev)
{
static const struct pci_device_id ids[] = {
INTEL_IVB_Q_IDS(INTEL_VGA_DEVICE, 0),
{}
};
static const struct dmi_system_id dmi_ids[] = {
{
.ident = "Apple iMac",
.matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "iMac"),
}
},
{}
};
return pci_match_id(ids, pdev) || dmi_check_system(dmi_ids);
}
Finally, it would really be super helpful if you could file a bug at the
fdo gitlab as described at [1], along with the full dmesg with debugs
enabled, running just patch 1, and then you could reference that issue
in the commit. So we'd have some info for posterity of what's actually
going on.
Thanks,
Jani.
--
Jani Nikula, Intel
next prev parent reply other threads:[~2026-01-28 11:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-25 0:10 [PATCH 0/2] Add support for eGPUs on Apple Products Atharva Tiwari
2026-01-25 0:11 ` [PATCH 1/2] efi/libstub: Enable apple-set-os for all Apple Devices Atharva Tiwari
2026-01-25 0:11 ` [PATCH 2/2] drm/i915/display: Disable display for iMac's Atharva Tiwari
2026-01-26 9:41 ` Jani Nikula
2026-01-26 20:49 ` Atharva Tiwari
2026-01-27 14:57 ` Jani Nikula
2026-01-27 18:39 ` Atharva Tiwari
2026-01-28 11:41 ` Jani Nikula [this message]
2026-01-26 16:26 ` ✗ LGCI.VerificationFailed: failure for Add support for eGPUs on Apple Products Patchwork
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=c4cc37ed9b626155706d5b167935c65eb5fc139d@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=airlied@gmail.com \
--cc=atharvatiwarilinuxdev@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=simona@ffwll.ch \
--cc=tursulin@ursulin.net \
--cc=ville.syrjala@linux.intel.com \
/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