Skip to content

drm/i915: intel sbi/pcode cleanup

Jani Nikula intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: split out intel_pcode.[ch] to separate filedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_bw.c drivers/gpu/drm/i915/display/intel_cdclk.c +14 more+277 -2550 replies
2/2drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]drivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_fdi.c +2 more+13 -290 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVille SyrjäläLucas De Marchi
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/2] drm/i915: intel sbi/pcode cleanup

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ä <[email protected]>

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
Signature · 1 line
2.30.2