public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Luca Coelho <luciano.coelho@intel.com>, intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org, ville.syrjala@linux.intel.com
Subject: Re: [PATCH v4 0/8] drm/i915: move more display dependencies from i915
Date: Mon, 27 Apr 2026 13:06:07 +0300	[thread overview]
Message-ID: <6cd074a68c151a55c5b689b8dcc4e8f10f089f0e@intel.com> (raw)
In-Reply-To: <20260420202252.3846880-1-luciano.coelho@intel.com>

On Mon, 20 Apr 2026, Luca Coelho <luciano.coelho@intel.com> wrote:
> This series continues my work of refactoring the clock gating
> initialization, so that i915 doesn't do display-specific stuff.
>
> With this, all register dependencies should be gone.
>
> Changes in v4:
> 	* Explain why HAS_LLC() is not needed anymore (Jani);
> 	* Replace intel_display_core.h include with intel_pch.h (Jani);
>
> Please review.

There's the one omission in patch 5 that I pointed out that needs to be
fixed.

Other than that, this is

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

I do have a nagging feeling that further refactoring will be needed, as
this introduces a plethora of new display interfaces i915 core needs to
call, and we should work to minimize that surface. However, this is good
stuff for moving the display stuff out of i915 core, so let's roll with
this.

A minor nit for further reference. If you can, please try to avoid
combining code movement and other changes. Reviewing pure code movement
with 'git show --color-moved' is quick. Reviewing other mechanical
changes with 'git show --color-words' is also quick. Unfortunately,
having code movement and other inline changes in one breaks both
approaches, and you have to fall back to more manual review.

BR,
Jani.


>
> Cheers,
> Luca.
>
>
> Luca Coelho (8):
>   drm/i915: move SKL clock gating init to display
>   drm/i915: move KBL clock gating init to display
>   drm/i915/display: move CFL clock gating init to display
>   drm/i915/display: move BXT clock gating init to display
>   drm/i915/display: move GLK clock gating init to display
>   drm/i915/display: move HSW and BDW clock gating init to display
>   drm/i915/display: move pre-HSW clock gating init to display
>   drm/i915: remove HAS_PCH_NOP() dependency from clock gating
>
>  drivers/gpu/drm/i915/Makefile                 |   1 +
>  .../i915/display/intel_display_clock_gating.c | 255 ++++++++++++++++++
>  .../i915/display/intel_display_clock_gating.h |  27 ++
>  .../gpu/drm/i915/display/intel_display_regs.h |  31 +++
>  drivers/gpu/drm/i915/i915_reg.h               |  31 ---
>  drivers/gpu/drm/i915/intel_clock_gating.c     | 226 ++--------------
>  6 files changed, 331 insertions(+), 240 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_display_clock_gating.c
>  create mode 100644 drivers/gpu/drm/i915/display/intel_display_clock_gating.h

-- 
Jani Nikula, Intel

  parent reply	other threads:[~2026-04-27 10:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 20:22 [PATCH v4 0/8] drm/i915: move more display dependencies from i915 Luca Coelho
2026-04-20 20:22 ` [PATCH v4 1/8] drm/i915: move SKL clock gating init to display Luca Coelho
2026-04-20 20:22 ` [PATCH v4 2/8] drm/i915: move KBL " Luca Coelho
2026-04-20 20:22 ` [PATCH v4 3/8] drm/i915/display: move CFL " Luca Coelho
2026-04-20 20:22 ` [PATCH v4 4/8] drm/i915/display: move BXT " Luca Coelho
2026-04-20 20:22 ` [PATCH v4 5/8] drm/i915/display: move GLK " Luca Coelho
2026-04-27  9:50   ` Jani Nikula
2026-04-28  9:14     ` Luca Coelho
2026-04-20 20:22 ` [PATCH v4 6/8] drm/i915/display: move HSW and BDW " Luca Coelho
2026-04-20 20:22 ` [PATCH v4 7/8] drm/i915/display: move pre-HSW " Luca Coelho
2026-04-20 20:22 ` [PATCH v4 8/8] drm/i915: remove HAS_PCH_NOP() dependency from clock gating Luca Coelho
2026-04-21  2:39 ` ✗ CI.checkpatch: warning for drm/i915: move more display dependencies from i915 (rev4) Patchwork
2026-04-21  2:40 ` ✓ CI.KUnit: success " Patchwork
2026-04-21  3:27 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-21  5:46 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-27 10:06 ` Jani Nikula [this message]
2026-04-28  9:41   ` [PATCH v4 0/8] drm/i915: move more display dependencies from i915 Luca Coelho

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=6cd074a68c151a55c5b689b8dcc4e8f10f089f0e@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=luciano.coelho@intel.com \
    --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