All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 00/14] drm/i915/display: conversions to struct intel_display
Date: Wed, 12 Feb 2025 19:17:00 +0200	[thread overview]
Message-ID: <Z6zXjEfwCj8BxQSh@intel.com> (raw)
In-Reply-To: <cover.1739378095.git.jani.nikula@intel.com>

On Wed, Feb 12, 2025 at 06:36:29PM +0200, Jani Nikula wrote:
> Convert a bunch of files and functions to struct intel display.
> 
> The approach is to mostly convert a file, then see what the stragglers
> are, convert those too, and repeat.
> 
> The PCH checks are starting to become a big straggler for further
> conversions.

Aye. I wonder if we should in fact change all the HAS_PCH_FOO()
stuff to some kind of "south display type" thing. The current
situation is a bit of a mess due to:
- DG1/2 declare some kind of fake PCH type
- BXT/GLK don't declare one and yet we still use many
  PCH/south display registers

Anyways, series is
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> 
> BR,
> Jani.
> 
> Jani Nikula (14):
>   drm/i915/dp: convert g4x_dp.[ch] to struct intel display
>   drm/i915/hdmi: convert g4x_hdmi.[ch] to struct intel_display
>   drm/i915/ips: convert hsw_ips.c to struct intel_display
>   drm/i915/display: convert assert_transcoder*() to struct intel_display
>   drm/i915/display: convert assert_port_valid() to struct intel_display
>   drm/i915/hpd: drop dev_priv parameter from intel_hpd_pin_default()
>   drm/i915/display: convert
>     intel_set_{cpu,pch}_fifo_underrun_reporting() to intel_display
>   drm/i915/sdvo: convert intel_sdvo.[ch] to struct intel_display
>   drm/i915/display: convert intel_cpu_transcoder_mode_valid() to
>     intel_display
>   drm/i915/display: convert intel_mode_valid_max_plane_size() to
>     intel_display
>   drm/i915/dsi: convert platform checks to display->platform.<platform>
>     style
>   drm/i915/combo-phy: convert intel_combo_phy.[ch] to struct
>     intel_display
>   drm/i915/display: convert intel_fifo_underrun.[ch] to struct
>     intel_display
>   drm/i915/display: convert i915_pipestat_enable_mask() to struct
>     intel_display
> 
>  drivers/gpu/drm/i915/display/g4x_dp.c         |  99 +++---
>  drivers/gpu/drm/i915/display/g4x_dp.h         |  14 +-
>  drivers/gpu/drm/i915/display/g4x_hdmi.c       | 154 +++++----
>  drivers/gpu/drm/i915/display/g4x_hdmi.h       |   6 +-
>  drivers/gpu/drm/i915/display/hsw_ips.c        |  26 +-
>  drivers/gpu/drm/i915/display/icl_dsi.c        |  21 +-
>  .../gpu/drm/i915/display/intel_combo_phy.c    | 180 ++++++-----
>  .../gpu/drm/i915/display/intel_combo_phy.h    |   8 +-
>  drivers/gpu/drm/i915/display/intel_crt.c      |  21 +-
>  drivers/gpu/drm/i915/display/intel_crtc.c     |   2 +-
>  drivers/gpu/drm/i915/display/intel_ddi.c      |  11 +-
>  drivers/gpu/drm/i915/display/intel_display.c  | 155 ++++-----
>  drivers/gpu/drm/i915/display/intel_display.h  |  10 +-
>  .../gpu/drm/i915/display/intel_display_irq.c  |  37 +--
>  .../gpu/drm/i915/display/intel_display_irq.h  |   5 +-
>  .../drm/i915/display/intel_display_power.c    |   5 +-
>  .../i915/display/intel_display_power_well.c   |   3 +-
>  drivers/gpu/drm/i915/display/intel_dp.c       |   5 +-
>  drivers/gpu/drm/i915/display/intel_dp_mst.c   |   5 +-
>  drivers/gpu/drm/i915/display/intel_dpll.c     |  30 +-
>  drivers/gpu/drm/i915/display/intel_dsi.c      |   8 +-
>  drivers/gpu/drm/i915/display/intel_dvo.c      |   8 +-
>  drivers/gpu/drm/i915/display/intel_fdi.c      |   3 +-
>  .../drm/i915/display/intel_fifo_underrun.c    | 181 ++++++-----
>  .../drm/i915/display/intel_fifo_underrun.h    |  18 +-
>  drivers/gpu/drm/i915/display/intel_hdmi.c     |   5 +-
>  drivers/gpu/drm/i915/display/intel_hotplug.c  |   4 +-
>  drivers/gpu/drm/i915/display/intel_hotplug.h  |   3 +-
>  drivers/gpu/drm/i915/display/intel_lvds.c     |   6 +-
>  .../drm/i915/display/intel_modeset_setup.c    |   6 +-
>  .../gpu/drm/i915/display/intel_pch_display.c  |   4 +-
>  drivers/gpu/drm/i915/display/intel_pps.c      |  11 +-
>  drivers/gpu/drm/i915/display/intel_sdvo.c     | 293 +++++++++---------
>  drivers/gpu/drm/i915/display/intel_sdvo.h     |  10 +-
>  drivers/gpu/drm/i915/display/intel_tv.c       |   6 +-
>  drivers/gpu/drm/i915/display/vlv_dsi.c        |   8 +-
>  36 files changed, 671 insertions(+), 700 deletions(-)
> 
> -- 
> 2.39.5

-- 
Ville Syrjälä
Intel

  parent reply	other threads:[~2025-02-12 17:17 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-12 16:36 [PATCH 00/14] drm/i915/display: conversions to struct intel_display Jani Nikula
2025-02-12 16:36 ` [PATCH 01/14] drm/i915/dp: convert g4x_dp.[ch] to struct intel display Jani Nikula
2025-02-13  8:48   ` Kandpal, Suraj
2025-02-13  9:13     ` Jani Nikula
2025-02-13  9:19       ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 02/14] drm/i915/hdmi: convert g4x_hdmi.[ch] to struct intel_display Jani Nikula
2025-02-13  8:55   ` Kandpal, Suraj
2025-02-13  9:15     ` Jani Nikula
2025-02-12 16:36 ` [PATCH 03/14] drm/i915/ips: convert hsw_ips.c " Jani Nikula
2025-02-13  8:56   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 04/14] drm/i915/display: convert assert_transcoder*() " Jani Nikula
2025-02-13  8:58   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 05/14] drm/i915/display: convert assert_port_valid() " Jani Nikula
2025-02-13  8:59   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 06/14] drm/i915/hpd: drop dev_priv parameter from intel_hpd_pin_default() Jani Nikula
2025-02-13  9:01   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 07/14] drm/i915/display: convert intel_set_{cpu, pch}_fifo_underrun_reporting() to intel_display Jani Nikula
2025-02-13  9:03   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 08/14] drm/i915/sdvo: convert intel_sdvo.[ch] to struct intel_display Jani Nikula
2025-02-13  9:13   ` Kandpal, Suraj
2025-02-13 11:16     ` Jani Nikula
2025-02-12 16:36 ` [PATCH 09/14] drm/i915/display: convert intel_cpu_transcoder_mode_valid() to intel_display Jani Nikula
2025-02-13  9:15   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 10/14] drm/i915/display: convert intel_mode_valid_max_plane_size() " Jani Nikula
2025-02-13  9:16   ` Kandpal, Suraj
2025-02-12 16:36 ` [PATCH 11/14] drm/i915/dsi: convert platform checks to display->platform.<platform> style Jani Nikula
2025-02-12 16:36 ` [PATCH 12/14] drm/i915/combo-phy: convert intel_combo_phy.[ch] to struct intel_display Jani Nikula
2025-02-12 16:36 ` [PATCH 13/14] drm/i915/display: convert intel_fifo_underrun.[ch] " Jani Nikula
2025-02-12 16:36 ` [PATCH 14/14] drm/i915/display: convert i915_pipestat_enable_mask() " Jani Nikula
2025-02-12 17:17 ` Ville Syrjälä [this message]
2025-02-13  8:27   ` [PATCH 00/14] drm/i915/display: conversions " Jani Nikula
2025-02-12 20:32 ` ✓ CI.Patch_applied: success for " Patchwork
2025-02-12 20:33 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-12 20:34 ` ✓ CI.KUnit: success " Patchwork
2025-02-12 20:51 ` ✓ CI.Build: " Patchwork
2025-02-12 20:53 ` ✓ CI.Hooks: " Patchwork
2025-02-12 20:55 ` ✗ CI.checksparse: warning " Patchwork
2025-02-12 21:17 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-12 21:19 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2025-02-12 21:20 ` ✗ Fi.CI.SPARSE: " Patchwork
2025-02-12 21:39 ` ✓ i915.CI.BAT: success " Patchwork
2025-02-13  5:55 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-13  6:10 ` ✗ i915.CI.Full: " 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=Z6zXjEfwCj8BxQSh@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@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.