intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Wysocki Rafael J <rafael.j.wysocki@intel.com>,
	Lee Shawn C <shawn.c.lee@intel.com>,
	simon1.yang@intel.com, Doug Anderson <dianders@chromium.org>,
	Maxime Ripard <mripard@kernel.org>,
	Jani Nikula <jani.nikula@intel.com>
Subject: [PATCH 0/4] drm/panel, drm/i915: ACPI support for panel follower
Date: Fri,  6 Jun 2025 12:05:08 +0300	[thread overview]
Message-ID: <cover.1749199013.git.jani.nikula@intel.com> (raw)

Hi all -

This series expands panel follower to ACPI, and enables drm_panel on
i915.

Patch 1 makes panel follower matching independent of DT, making it also
work with ACPI. Similar to DT, you can use a _DSD "panel" property to
describe the dependency.

Patches 2-4 add drm_panel support to i915 DSI, making it possible to
have followers be notified of panel states.

It's not a whole lot of code, but I simply could not have done it
alone. Thanks to Heikki and Rafael for ACPI insights, Shawn for testing
and feedback, Simon for providing ASL, Doug and Maxime for drm_panel
insights. Much appreciated!

Alas that's not all. While this has been tested to work on an ACPI
system, it has not been tested to not regress on DT systems. I wouldn't
dream of merging this before that, but we don't have such systems
handy. Could anyone provide their Tested-by on a DT system with panel
followers, please?


BR,
Jani.


Jani Nikula (4):
  drm/panel: use fwnode based lookups for panel followers
  drm/i915/panel: add panel register/unregister
  drm/i915/panel: register drm_panel and call prepare/unprepare for ICL+
    DSI
  drm/i915/panel: sync panel prepared state at register

 drivers/gpu/drm/drm_panel.c                   |  39 ++++--
 drivers/gpu/drm/i915/display/icl_dsi.c        |   4 +
 .../gpu/drm/i915/display/intel_connector.c    |  23 ++-
 .../drm/i915/display/intel_display_types.h    |   4 +
 drivers/gpu/drm/i915/display/intel_panel.c    | 131 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_panel.h    |   6 +
 6 files changed, 187 insertions(+), 20 deletions(-)

-- 
2.39.5


             reply	other threads:[~2025-06-06  9:06 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-06  9:05 Jani Nikula [this message]
2025-06-06  9:05 ` [PATCH 1/4] drm/panel: use fwnode based lookups for panel followers Jani Nikula
2025-06-06 15:45   ` Lee, Shawn C
2025-06-10  0:06   ` Doug Anderson
2025-06-10  9:36     ` Jani Nikula
2025-06-10  8:01   ` Murthy, Arun R
2025-06-10  9:41   ` [PATCH v2] " Jani Nikula
2025-06-10 12:01   ` [PATCH 1/4] " Maxime Ripard
2025-06-06  9:05 ` [PATCH 2/4] drm/i915/panel: add panel register/unregister Jani Nikula
2025-06-06 15:48   ` Lee, Shawn C
2025-06-10  8:09   ` Murthy, Arun R
2025-06-10  9:00     ` Jani Nikula
2025-06-10 12:01   ` Maxime Ripard
2025-06-06  9:05 ` [PATCH 3/4] drm/i915/panel: register drm_panel and call prepare/unprepare for ICL+ DSI Jani Nikula
2025-06-06 15:50   ` Lee, Shawn C
2025-06-10  8:21   ` Murthy, Arun R
2025-06-10  9:08     ` Jani Nikula
2025-06-10 12:01   ` Maxime Ripard
2025-06-06  9:05 ` [PATCH 4/4] drm/i915/panel: sync panel prepared state at register Jani Nikula
2025-06-06 15:52   ` Lee, Shawn C
2025-06-10  8:30   ` Murthy, Arun R
2025-06-10 12:02   ` Maxime Ripard
2025-06-06  9:12 ` ✓ CI.Patch_applied: success for drm/panel, drm/i915: ACPI support for panel follower Patchwork
2025-06-06  9:12 ` ✓ CI.checkpatch: " Patchwork
2025-06-06  9:13 ` ✓ CI.KUnit: " Patchwork
2025-06-06  9:24 ` ✓ CI.Build: " Patchwork
2025-06-06  9:27 ` ✓ CI.Hooks: " Patchwork
2025-06-06  9:28 ` ✗ CI.checksparse: warning " Patchwork
2025-06-06  9:55 ` ✓ Xe.CI.BAT: success " Patchwork
2025-06-08 12:26 ` ✗ Xe.CI.Full: failure " Patchwork
2025-06-10 10:19 ` ✓ CI.Patch_applied: success for drm/panel, drm/i915: ACPI support for panel follower (rev2) Patchwork
2025-06-10 10:19 ` ✓ CI.checkpatch: " Patchwork
2025-06-10 10:20 ` ✓ CI.KUnit: " Patchwork
2025-06-10 10:31 ` ✓ CI.Build: " Patchwork
2025-06-10 10:34 ` ✓ CI.Hooks: " Patchwork
2025-06-10 10:35 ` ✗ CI.checksparse: warning " Patchwork
2025-06-10 10:59 ` ✓ Xe.CI.BAT: success " Patchwork
2025-06-10 12:02 ` ✗ Xe.CI.Full: failure " Patchwork
2025-06-11 10:07 ` [PATCH 0/4] drm/panel, drm/i915: ACPI support for panel follower Jani Nikula

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=cover.1749199013.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=mripard@kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=shawn.c.lee@intel.com \
    --cc=simon1.yang@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;
as well as URLs for NNTP newsgroup(s).