All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 0/2] drm/i915: intel sbi/pcode cleanup
Date: Thu, 14 Oct 2021 13:45:35 +0300	[thread overview]
Message-ID: <YWgKTynZctcXUIL1@intel.com> (raw)
In-Reply-To: <cover.1634207064.git.jani.nikula@intel.com>

On Thu, Oct 14, 2021 at 01:28:56PM +0300, Jani Nikula wrote:
> Split out the sbi and pcode code to separate files.
> 
> There's potential for follow-up work that's not included here:
> 
> - vlv_sideband, intel_sbi and intel_pcode all use
>   i915->sb_lock. Technically it's fine, but the appearance is confusing.
> 
> - The pcode function naming could use some cleanup.
> 
> - Slightly unrelated, all the functions in intel_display.c using
>   intel_sbi should be moved out of intel_display.c as a group.

I was initialy thinking to just shovel it into intel_fdi.c since
that's more or less the only user atm. But after another thought
intel_pch_refclk.c could be a decent idea. The related ibx/cpt/ppt
code could go there as well.

> 
> 
> BR,
> Jani.
> 
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Jani Nikula (2):
>   drm/i915: split out intel_pcode.[ch] to separate file
>   drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]

Series is
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> 
>  drivers/gpu/drm/i915/Makefile                 |  3 +-
>  drivers/gpu/drm/i915/display/intel_bw.c       |  2 +-
>  drivers/gpu/drm/i915/display/intel_cdclk.c    |  2 +-
>  drivers/gpu/drm/i915/display/intel_display.c  |  5 +-
>  .../drm/i915/display/intel_display_power.c    |  2 +-
>  drivers/gpu/drm/i915/display/intel_fdi.c      |  2 +-
>  drivers/gpu/drm/i915/display/intel_hdcp.c     |  6 +-
>  drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c |  2 +-
>  drivers/gpu/drm/i915/gt/intel_llc.c           |  2 +-
>  drivers/gpu/drm/i915/gt/intel_rc6.c           |  2 +-
>  drivers/gpu/drm/i915/gt/intel_rps.c           |  2 +-
>  drivers/gpu/drm/i915/i915_drv.c               |  2 +-
>  drivers/gpu/drm/i915/intel_dram.c             |  2 +-
>  .../i915/{intel_sideband.c => intel_pcode.c}  | 91 +------------------
>  .../i915/{intel_sideband.h => intel_pcode.h}  | 19 ++--
>  drivers/gpu/drm/i915/intel_pm.c               |  2 +-
>  drivers/gpu/drm/i915/intel_sbi.c              | 73 +++++++++++++++
>  drivers/gpu/drm/i915/intel_sbi.h              | 23 +++++
>  18 files changed, 124 insertions(+), 118 deletions(-)
>  rename drivers/gpu/drm/i915/{intel_sideband.c => intel_pcode.c} (69%)
>  rename drivers/gpu/drm/i915/{intel_sideband.h => intel_pcode.h} (63%)
>  create mode 100644 drivers/gpu/drm/i915/intel_sbi.c
>  create mode 100644 drivers/gpu/drm/i915/intel_sbi.h
> 
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel

  parent reply	other threads:[~2021-10-14 10:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 10:28 [Intel-gfx] [PATCH 0/2] drm/i915: intel sbi/pcode cleanup Jani Nikula
2021-10-14 10:28 ` [Intel-gfx] [PATCH 1/2] drm/i915: split out intel_pcode.[ch] to separate file Jani Nikula
2021-10-14 10:28 ` [Intel-gfx] [PATCH 2/2] drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch] Jani Nikula
2021-10-14 10:45 ` Ville Syrjälä [this message]
2021-10-14 11:46 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: intel sbi/pcode cleanup Patchwork
2021-10-14 12:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-10-14 14:38 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-10-14 15:01 ` [Intel-gfx] [PATCH 0/2] " Lucas De Marchi

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=YWgKTynZctcXUIL1@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.