All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 00/15] drm/i915: drop __to_intel_display() transitional macro
Date: Wed,  6 Aug 2025 19:55:01 +0300	[thread overview]
Message-ID: <cover.1754499174.git.jani.nikula@intel.com> (raw)

Switch to passing struct intel_display to all the macros that use
__to_intel_display(), and once that's done, remove __to_intel_display().

We'll still need to get rid of struct intel_display usage like this
outside of display, but explicit is better than implicit, and this
prevents new accidental struct drm_i915_private usages from cropping up.

Jani Nikula (15):
  drm/i915/display: pass display to HAS_PCH_*() macros
  drm/i915/fb: pass display to HAS_GMCH() and DISPLAY_VER()
  drm/i915/clockgating: pass display to for_each_pipe()
  drm/i915/clockgating: pass display to HAS_PCH_*() macros
  drm/i915/clockgating: pass display to DSPCNTR and DSPSURF register
    macros
  drm/i915/irq: pass display to macros that expect display
  drm/i915/dram: pass display to macros that expect display
  drm/i915/gmch: pass display to DISPLAY_VER()
  drm/i915/gem: pass display to HAS_DISPLAY()
  drm/i915/switcheroo: pass display to HAS_DISPLAY()
  drm/i915/drv: pass display to HAS_DISPLAY()
  drm/i915/uncore: pass display to HAS_FPGA_DBG_UNCLAIMED()
  drm/i915/gvt: convert mmio table to struct intel_display
  drm/i915/reg: separate VLV_DSPCLK_GATE_D from DSPCLK_GATE_D
  drm/i915/display: drop __to_intel_display() usage

 .../i915/display/intel_display_conversion.c   |   2 +-
 .../i915/display/intel_display_conversion.h   |  12 -
 .../drm/i915/display/intel_display_device.h   |   7 +-
 .../gpu/drm/i915/display/intel_display_irq.c  |   9 +-
 .../i915/display/intel_display_power_well.c   |   2 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.c   |   4 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c  |   5 +-
 drivers/gpu/drm/i915/display/intel_pch.h      |   4 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |   4 +-
 .../i915/gem/selftests/i915_gem_client_blt.c  |   3 +-
 drivers/gpu/drm/i915/i915_driver.c            |  14 +-
 drivers/gpu/drm/i915/i915_irq.c               |  13 +-
 drivers/gpu/drm/i915/i915_reg.h               |   3 +-
 drivers/gpu/drm/i915/i915_switcheroo.c        |   6 +-
 drivers/gpu/drm/i915/intel_clock_gating.c     |  35 ++-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   | 266 +++++++++---------
 drivers/gpu/drm/i915/intel_uncore.c           |   3 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c |   8 +-
 drivers/gpu/drm/i915/soc/intel_dram.c         |   5 +-
 drivers/gpu/drm/i915/soc/intel_gmch.c         |   3 +-
 21 files changed, 206 insertions(+), 204 deletions(-)

-- 
2.39.5


             reply	other threads:[~2025-08-06 16:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-06 16:55 Jani Nikula [this message]
2025-08-06 16:55 ` [PATCH 01/15] drm/i915/display: pass display to HAS_PCH_*() macros Jani Nikula
2025-08-06 16:55 ` [PATCH 02/15] drm/i915/fb: pass display to HAS_GMCH() and DISPLAY_VER() Jani Nikula
2025-08-06 16:55 ` [PATCH 03/15] drm/i915/clockgating: pass display to for_each_pipe() Jani Nikula
2025-08-06 16:55 ` [PATCH 04/15] drm/i915/clockgating: pass display to HAS_PCH_*() macros Jani Nikula
2025-08-06 16:55 ` [PATCH 05/15] drm/i915/clockgating: pass display to DSPCNTR and DSPSURF register macros Jani Nikula
2025-08-06 16:55 ` [PATCH 06/15] drm/i915/irq: pass display to macros that expect display Jani Nikula
2025-08-06 16:55 ` [PATCH 07/15] drm/i915/dram: " Jani Nikula
2025-08-06 16:55 ` [PATCH 08/15] drm/i915/gmch: pass display to DISPLAY_VER() Jani Nikula
2025-08-06 16:55 ` [PATCH 09/15] drm/i915/gem: pass display to HAS_DISPLAY() Jani Nikula
2025-08-06 16:55 ` [PATCH 10/15] drm/i915/switcheroo: " Jani Nikula
2025-08-06 16:55 ` [PATCH 11/15] drm/i915/drv: " Jani Nikula
2025-08-06 16:55 ` [PATCH 12/15] drm/i915/uncore: pass display to HAS_FPGA_DBG_UNCLAIMED() Jani Nikula
2025-08-06 16:55 ` [PATCH 13/15] drm/i915/gvt: convert mmio table to struct intel_display Jani Nikula
2025-08-06 16:55 ` [PATCH 14/15] drm/i915/reg: separate VLV_DSPCLK_GATE_D from DSPCLK_GATE_D Jani Nikula
2025-08-06 16:55 ` [PATCH 15/15] drm/i915/display: drop __to_intel_display() usage Jani Nikula
2025-08-06 17:07 ` ✓ CI.KUnit: success for drm/i915: drop __to_intel_display() transitional macro Patchwork
2025-08-06 17:21 ` ✗ CI.checksparse: warning " Patchwork
2025-08-06 18:09 ` ✓ Xe.CI.BAT: success " Patchwork
2025-08-06 19:12 ` ✓ Xe.CI.Full: " Patchwork
2025-08-06 19:24 ` ✓ i915.CI.BAT: " Patchwork
2025-08-06 23:31 ` ✗ i915.CI.Full: failure " Patchwork
2025-08-13 20:58 ` [PATCH 00/15] " Gustavo Sousa
2025-08-14 10:21   ` Jani Nikula

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.1754499174.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /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.