From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com, "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: [Intel-gfx] [PATCH 0/2] drm/i915: intel sbi/pcode cleanup
Date: Thu, 14 Oct 2021 13:28:56 +0300 [thread overview]
Message-ID: <cover.1634207064.git.jani.nikula@intel.com> (raw)
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.
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]
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
next reply other threads:[~2021-10-14 10:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 10:28 Jani Nikula [this message]
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 ` [Intel-gfx] [PATCH 0/2] drm/i915: intel sbi/pcode cleanup Ville Syrjälä
2021-10-14 11:46 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " 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=cover.1634207064.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--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 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.