intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: lucas.demarchi@intel.com, rodrigo.vivi@intel.com, jani.nikula@intel.com
Subject: [PATCH 0/6] drm/i915, drm/xe: add drm device based pcode interface for display
Date: Thu,  5 Jun 2025 13:29:32 +0300	[thread overview]
Message-ID: <cover.1749119274.git.jani.nikula@intel.com> (raw)

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


             reply	other threads:[~2025-06-05 10:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-05 10:29 Jani Nikula [this message]
2025-06-05 10:29 ` [PATCH 1/6] drm/i915/pcode: drop fast wait from snb_pcode_write_timeout() Jani Nikula
2025-06-16 20:41   ` Rodrigo Vivi
2025-06-16 20:48   ` Rodrigo Vivi
2025-06-16 20:48   ` Rodrigo Vivi
2025-06-05 10:29 ` [PATCH 2/6] drm/i915/pcode: add struct drm_device based interface Jani Nikula
2025-06-16 20:45   ` Rodrigo Vivi
2025-06-05 10:29 ` [PATCH 3/6] drm/xe/pcode: " Jani Nikula
2025-06-16 20:44   ` Rodrigo Vivi
2025-06-05 10:29 ` [PATCH 4/6] drm/i915/display: switch to struct drm_device based pcode interface Jani Nikula
2025-06-16 20:47   ` Rodrigo Vivi
2025-06-17  8:29     ` Jani Nikula
2025-06-18 13:48       ` Rodrigo Vivi
2025-06-05 10:29 ` [PATCH 5/6] drm/i915/dram: " Jani Nikula
2025-06-18 13:49   ` Rodrigo Vivi
2025-06-05 10:29 ` [PATCH 6/6] drm/xe/compat: remove old pcode compat interface Jani Nikula
2025-06-18 13:49   ` Rodrigo Vivi
2025-06-05 12:33 ` ✗ Fi.CI.SPARSE: warning for drm/i915, drm/xe: add drm device based pcode interface for display Patchwork
2025-06-05 12:56 ` ✓ i915.CI.BAT: success " Patchwork
2025-06-18 15:27   ` Jani Nikula
2025-06-23 10:49 ` ✗ Fi.CI.BUILD: failure for drm/i915, drm/xe: add drm device based pcode interface for display (rev2) Patchwork

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.1749119274.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=rodrigo.vivi@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;
as well as URLs for NNTP newsgroup(s).