intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"Nikula, Jani" <jani.nikula@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH v3 0/6] Use display parent interface for runtime pm
Date: Fri, 31 Oct 2025 12:29:36 +0000	[thread overview]
Message-ID: <173012c68f40ea9a08bddc1737fd87ed2715b4be.camel@intel.com> (raw)
In-Reply-To: <d28d4a6355e691f27c2dc2dffe62cc0242b11860@intel.com>

On Fri, 2025-10-31 at 12:50 +0200, Jani Nikula wrote:
> On Thu, 30 Oct 2025, Jouni Högander <jouni.hogander@intel.com> wrote:
> > Add struct intel_display_parent_interface which is supposed to
> > contain
> > function pointers passed at display probe. This is supposed to
> > allow
> > differing implementations between i915 and xe drivers.
> > 
> > Add runtime pm as an example and first set of functions using this
> > new
> > mechanism. Pass own implementations of runtime from i915 and xe
> > drivers during probe.
> 
> Good stuff, let's merge? We've got two sets of eyes on patch 1,
> that's
> enough.

I can merge these early next week.

BR,

Jouni Högander
> 
> BR,
> Jani.
> 
> > 
> > v3:
> >   - useless includes removed
> >   - drop xe_display_rpm_{get, put}_raw
> > v2:
> >   - unrelated include removal dropped
> >   - add _interface suffix to rpm function pointer struct
> >   - add struct ref_tracker forward declaration
> >   - use kernel-doc comments as needed
> >   - move i915 display rpm interface implementation to
> > intel_runtime_pm.c
> >   - rename intel_display as i915_display
> >   - move xe_display_rpm_interface code into xe_display_rpm.c
> >   - rename xe_rpm as xe_display_rpm
> >   - use <> when including drm/intel/display_parent_interface.h
> >   - drop checks for validity of rpm function pointers
> >   - keep xe_display_rpm.c
> > 
> > Jani Nikula (1):
> >   drm/{i915,xe}/display: pass parent interface to display probe
> > 
> > Jouni Högander (5):
> >   drm/{i915,xe}/display: Add display runtime pm parent interface
> >   drm/i915/display: Runtime pm wrappers for display parent
> > interface
> >   drm/xe/display: Runtime pm wrappers for display parent interface
> >   drm/i915/display: Use display parent interface for i915 runtime
> > pm
> >   drm/xe/display: Use display parent interface for xe runtime pm
> > 
> >  .../gpu/drm/i915/display/intel_display_core.h |  4 +
> >  .../drm/i915/display/intel_display_device.c   |  5 +-
> >  .../drm/i915/display/intel_display_device.h   |  4 +-
> >  .../gpu/drm/i915/display/intel_display_rpm.c  | 33 ++++----
> >  drivers/gpu/drm/i915/i915_driver.c            | 12 ++-
> >  drivers/gpu/drm/i915/i915_driver.h            |  2 +
> >  drivers/gpu/drm/i915/intel_runtime_pm.c       | 77
> > +++++++++++++++++++
> >  drivers/gpu/drm/i915/intel_runtime_pm.h       |  3 +
> >  .../gpu/drm/i915/selftests/mock_gem_device.c  |  4 +-
> >  drivers/gpu/drm/xe/Makefile                   |  1 +
> >  drivers/gpu/drm/xe/display/xe_display.c       |  8 +-
> >  drivers/gpu/drm/xe/display/xe_display_rpm.c   | 61 +++++++--------
> >  drivers/gpu/drm/xe/display/xe_display_rpm.h   | 11 +++
> >  include/drm/intel/display_parent_interface.h  | 45 +++++++++++
> >  14 files changed, 215 insertions(+), 55 deletions(-)
> >  create mode 100644 drivers/gpu/drm/xe/display/xe_display_rpm.h
> >  create mode 100644 include/drm/intel/display_parent_interface.h
> 


  reply	other threads:[~2025-10-31 12:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30 20:28 [PATCH v3 0/6] Use display parent interface for runtime pm Jouni Högander
2025-10-30 20:28 ` [PATCH v3 1/6] drm/{i915, xe}/display: pass parent interface to display probe Jouni Högander
2025-10-30 20:28 ` [PATCH v3 2/6] drm/{i915, xe}/display: Add display runtime pm parent interface Jouni Högander
2025-10-30 20:28 ` [PATCH v3 3/6] drm/i915/display: Runtime pm wrappers for display " Jouni Högander
2025-10-30 20:28 ` [PATCH v3 4/6] drm/xe/display: " Jouni Högander
2025-10-30 20:28 ` [PATCH v3 5/6] drm/i915/display: Use display parent interface for i915 runtime pm Jouni Högander
2025-10-30 20:28 ` [PATCH v3 6/6] drm/xe/display: Use display parent interface for xe " Jouni Högander
2025-10-30 21:32 ` ✓ i915.CI.BAT: success for Use display parent interface for runtime pm (rev3) Patchwork
2025-10-31  1:11 ` ✗ i915.CI.Full: failure " Patchwork
2025-10-31 10:50 ` [PATCH v3 0/6] Use display parent interface for runtime pm Jani Nikula
2025-10-31 12:29   ` Hogander, Jouni [this message]
2025-11-03 10:16   ` Hogander, Jouni

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=173012c68f40ea9a08bddc1737fd87ed2715b4be.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@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).