[PATCH 0/6] drm/i915, drm/xe: add drm device based pcode interface for display

Jani Nikula jani.nikula at intel.com
Thu Jun 5 10:29:32 UTC 2025


Unify pcode write timeouts between i915 and xe a bit, add drm device
based pcode interface to both i915 and xe, and use it in display and
dram code. This drops more drm_i915_private/uncore dependencies from
display.

BR,
Jani.

Jani Nikula (6):
  drm/i915/pcode: drop fast wait from snb_pcode_write_timeout()
  drm/i915/pcode: add struct drm_device based interface
  drm/xe/pcode: add struct drm_device based interface
  drm/i915/display: switch to struct drm_device based pcode interface
  drm/i915/dram: switch to struct drm_device based pcode interface
  drm/xe/compat: remove old pcode compat interface

 drivers/gpu/drm/i915/display/hsw_ips.c        | 13 ++---
 drivers/gpu/drm/i915/display/intel_bw.c       | 24 ++++----
 drivers/gpu/drm/i915/display/intel_cdclk.c    | 57 +++++++++----------
 .../drm/i915/display/intel_display_power.c    |  4 +-
 .../i915/display/intel_display_power_well.c   |  5 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     |  3 +-
 drivers/gpu/drm/i915/display/skl_watermark.c  | 30 +++++-----
 drivers/gpu/drm/i915/intel_pcode.c            | 29 +++++++++-
 drivers/gpu/drm/i915/intel_pcode.h            | 15 ++++-
 drivers/gpu/drm/i915/soc/intel_dram.c         |  5 +-
 .../drm/xe/compat-i915-headers/intel_pcode.h  | 31 ----------
 .../drm/xe/compat-i915-headers/intel_uncore.h |  7 ---
 drivers/gpu/drm/xe/xe_pcode.c                 | 26 +++++++++
 drivers/gpu/drm/xe/xe_pcode.h                 | 12 +++-
 14 files changed, 137 insertions(+), 124 deletions(-)

-- 
2.39.5



More information about the Intel-xe mailing list