Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 0/2] drm/i915/display: reduce clock_gating interface between core and display
Date: Fri, 3 Jul 2026 13:11:33 +0300	[thread overview]
Message-ID: <akeK1a8ywbV5kZA3@intel.com> (raw)
In-Reply-To: <3867d5b88afe3eddf142480892344d2c24a12007@intel.com>

On Thu, Jul 02, 2026 at 04:22:43PM +0300, Jani Nikula wrote:
> On Tue, 30 Jun 2026, Luca Coelho <luciano.coelho@intel.com> wrote:
> > As a follow up to my previous clock-gating patches, this series
> > reduces the interface between core and display by combining all the
> > platform-specific exported functions and letting the display code
> > decide what to do for each platform.
> >
> > To do that I created an _init_early(), to hold functions that are
> > called at the beginning of the clock gating initialization and another
> > one to call the later functions, namely _init_late().
> 
> As-is, this feels like forward progress, and I like the reduction of
> interfaces.
> 
> But what I'm really interested in, can we take steps further, and stop
> the back and forth calling of the functions between i915 and display?
> 
> For example, display hsw_disable_pc8() calls intel_clock_gating_init()
> with the comment /* Many display registers don't survive PC8+ */ but
> then it does so much more than just display. And it also calls back to
> display.
> 
> Could i915 core call its own clock gating functions where needed, and
> display call its own clock gating functions where needed, and not call
> from one to the other at all? Separate the two completely, at a level or
> two higher.

Just repeating what I've said several times before; the GT stuff
should be moved out from init_clock_gating() into the
gt/engine/etc. workaround framework. What's left should hopefully
be pure display stuff...

-- 
Ville Syrjälä
Intel

      reply	other threads:[~2026-07-03 10:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30  9:03 [PATCH 0/2] drm/i915/display: reduce clock_gating interface between core and display Luca Coelho
2026-06-30  9:03 ` [PATCH 1/2] drm/i915/display: combine clock_gating init functions called early into one Luca Coelho
2026-06-30  9:03 ` [PATCH 2/2] drm/i915/display: combine clock_gating init functions called late " Luca Coelho
2026-06-30 13:17 ` ✓ i915.CI.BAT: success for drm/i915/display: reduce clock_gating interface between core and display Patchwork
2026-06-30 22:10 ` ✓ i915.CI.Full: " Patchwork
2026-07-02 13:22 ` [PATCH 0/2] " Jani Nikula
2026-07-03 10:11   ` Ville Syrjälä [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=akeK1a8ywbV5kZA3@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=luciano.coelho@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