From: Jani Nikula <jani.nikula@linux.intel.com>
To: 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: Thu, 02 Jul 2026 16:22:43 +0300 [thread overview]
Message-ID: <3867d5b88afe3eddf142480892344d2c24a12007@intel.com> (raw)
In-Reply-To: <20260630090829.2778879-1-luciano.coelho@intel.com>
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.
BR,
Jani.
--
Jani Nikula, Intel
next prev parent reply other threads:[~2026-07-02 13:22 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 ` Jani Nikula [this message]
2026-07-03 10:11 ` [PATCH 0/2] " Ville Syrjälä
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=3867d5b88afe3eddf142480892344d2c24a12007@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--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