intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jason Ekstrand <jason@jlekstrand.net>
To: Lucas De Marchi <lucas.demarchi@intel.com>,
	<intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>, dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 00/30] Remove CNL support
Date: Fri, 23 Jul 2021 21:05:45 -0500	[thread overview]
Message-ID: <17ad642e0a8.2817.c6988b7ea6112e3e892765a0d4287e0c@jlekstrand.net> (raw)
In-Reply-To: <20210724001114.249295-1-lucas.demarchi@intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 5446 bytes --]

Generally a big fan. 👍

--Jason

On July 23, 2021 19:11:34 Lucas De Marchi <lucas.demarchi@intel.com> wrote:

> Patches 1 and 2 are already being reviewed elsewhere. Discussion on 2nd
> patch made me revive something I started after comment from Ville
> at 
> https://patchwork.freedesktop.org/patch/428168/?series=88988&rev=1#comment_768918
>
> This removes CNL completely from the driver, while trying to rename
> functions and macros where appropriate (usually to GLK when dealing with
> display or with ICL otherwise). It starts with display, which is more
> straightforward, and then proceed to the rest of i915.
>
> diff stat removing 1600 lines of dead code seems to pay the pain of
> doing this.
>
>
> Lucas De Marchi (30):
>  drm/i915: fix not reading DSC disable fuse in GLK
>  drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs()
>  drm/i915/display: remove PORT_F workaround for CNL
>  drm/i915/display: remove explicit CNL handling from intel_cdclk.c
>  drm/i915/display: remove explicit CNL handling from intel_color.c
>  drm/i915/display: remove explicit CNL handling from intel_combo_phy.c
>  drm/i915/display: remove explicit CNL handling from intel_crtc.c
>  drm/i915/display: remove explicit CNL handling from intel_ddi.c
>  drm/i915/display: remove explicit CNL handling from
>    intel_display_debugfs.c
>  drm/i915/display: remove explicit CNL handling from intel_dmc.c
>  drm/i915/display: remove explicit CNL handling from intel_dp.c
>  drm/i915/display: remove explicit CNL handling from intel_dpll_mgr.c
>  drm/i915/display: remove explicit CNL handling from intel_vdsc.c
>  drm/i915/display: remove explicit CNL handling from
>    skl_universal_plane.c
>  drm/i915/display: remove explicit CNL handling from
>    intel_display_power.c
>  drm/i915/display: remove CNL ddi buf translation tables
>  drm/i915/display: rename CNL references in skl_scaler.c
>  drm/i915: remove explicit CNL handling from i915_irq.c
>  drm/i915: remove explicit CNL handling from intel_pm.c
>  drm/i915: remove explicit CNL handling from intel_mocs.c
>  drm/i915: remove explicit CNL handling from intel_pch.c
>  drm/i915: remove explicit CNL handling from intel_wopcm.c
>  drm/i915/gt: remove explicit CNL handling from intel_sseu.c
>  drm/i915: rename CNL references in intel_dram.c
>  drm/i915/gt: rename CNL references in intel_engine.h
>  drm/i915: finish removal of CNL
>  drm/i915: remove GRAPHICS_VER == 10
>  drm/i915: rename/remove CNL registers
>  drm/i915: replace random CNL comments
>  drm/i915: switch num_scalers/num_sprites to consider DISPLAY_VER
>
> drivers/gpu/drm/i915/display/intel_bios.c     |   8 +-
> drivers/gpu/drm/i915/display/intel_cdclk.c    |  72 +-
> drivers/gpu/drm/i915/display/intel_color.c    |   5 +-
> .../gpu/drm/i915/display/intel_combo_phy.c    | 106 +--
> drivers/gpu/drm/i915/display/intel_crtc.c     |   2 +-
> drivers/gpu/drm/i915/display/intel_ddi.c      | 266 +-------
> .../drm/i915/display/intel_ddi_buf_trans.c    | 616 +++++-------------
> .../drm/i915/display/intel_ddi_buf_trans.h    |   4 +-
> drivers/gpu/drm/i915/display/intel_display.c  |   3 +-
> .../drm/i915/display/intel_display_debugfs.c  |   2 +-
> .../drm/i915/display/intel_display_power.c    | 289 --------
> .../drm/i915/display/intel_display_power.h    |   2 -
> drivers/gpu/drm/i915/display/intel_dmc.c      |   9 -
> drivers/gpu/drm/i915/display/intel_dp.c       |  35 +-
> drivers/gpu/drm/i915/display/intel_dp_aux.c   |   1 -
> drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 586 +++--------------
> drivers/gpu/drm/i915/display/intel_dpll_mgr.h |   1 -
> drivers/gpu/drm/i915/display/intel_vbt_defs.h |   2 +-
> drivers/gpu/drm/i915/display/intel_vdsc.c     |   5 +-
> drivers/gpu/drm/i915/display/skl_scaler.c     |  10 +-
> .../drm/i915/display/skl_universal_plane.c    |  14 +-
> drivers/gpu/drm/i915/gem/i915_gem_stolen.c    |   1 -
> drivers/gpu/drm/i915/gt/debugfs_gt_pm.c       |  10 +-
> drivers/gpu/drm/i915/gt/intel_engine.h        |   2 +-
> drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   3 -
> drivers/gpu/drm/i915/gt/intel_ggtt.c          |   4 +-
> .../gpu/drm/i915/gt/intel_gt_clock_utils.c    |  10 +-
> drivers/gpu/drm/i915/gt/intel_gtt.c           |   6 +-
> drivers/gpu/drm/i915/gt/intel_lrc.c           |  42 +-
> drivers/gpu/drm/i915/gt/intel_mocs.c          |   2 +-
> drivers/gpu/drm/i915/gt/intel_rc6.c           |   2 +-
> drivers/gpu/drm/i915/gt/intel_rps.c           |   4 +-
> drivers/gpu/drm/i915/gt/intel_sseu.c          |  79 ---
> drivers/gpu/drm/i915/gt/intel_sseu.h          |   2 +-
> drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c  |   6 +-
> drivers/gpu/drm/i915/gvt/gtt.c                |   2 +-
> drivers/gpu/drm/i915/i915_debugfs.c           |   6 +-
> drivers/gpu/drm/i915/i915_drv.h               |  13 +-
> drivers/gpu/drm/i915/i915_irq.c               |   7 +-
> drivers/gpu/drm/i915/i915_pci.c               |  23 +-
> drivers/gpu/drm/i915/i915_perf.c              |  22 +-
> drivers/gpu/drm/i915/i915_reg.h               | 245 ++-----
> drivers/gpu/drm/i915/intel_device_info.c      |  23 +-
> drivers/gpu/drm/i915/intel_device_info.h      |   4 +-
> drivers/gpu/drm/i915/intel_dram.c             |  32 +-
> drivers/gpu/drm/i915/intel_pch.c              |   5 +-
> drivers/gpu/drm/i915/intel_pm.c               |  41 +-
> drivers/gpu/drm/i915/intel_wopcm.c            |  10 +-
> 48 files changed, 516 insertions(+), 2128 deletions(-)
>
> --
> 2.31.1


[-- Attachment #1.2: Type: text/html, Size: 9676 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2021-07-24  2:05 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24  0:10 [Intel-gfx] [PATCH 00/30] Remove CNL support Lucas De Marchi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 01/30] drm/i915: fix not reading DSC disable fuse in GLK Lucas De Marchi
2021-07-24 18:03   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 02/30] drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs() Lucas De Marchi
2021-07-24 17:41   ` Christoph Hellwig
2021-07-25  5:02     ` Lucas De Marchi
2021-07-26 10:20       ` Rodrigo Vivi
2021-07-26 14:01         ` Lucas De Marchi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 03/30] drm/i915/display: remove PORT_F workaround for CNL Lucas De Marchi
2021-07-24 18:05   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 04/30] drm/i915/display: remove explicit CNL handling from intel_cdclk.c Lucas De Marchi
2021-07-24 18:12   ` Matt Roper
2021-07-27  6:12     ` Lucas De Marchi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 05/30] drm/i915/display: remove explicit CNL handling from intel_color.c Lucas De Marchi
2021-07-24 18:14   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 06/30] drm/i915/display: remove explicit CNL handling from intel_combo_phy.c Lucas De Marchi
2021-07-24 18:17   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 07/30] drm/i915/display: remove explicit CNL handling from intel_crtc.c Lucas De Marchi
2021-07-24 18:17   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 08/30] drm/i915/display: remove explicit CNL handling from intel_ddi.c Lucas De Marchi
2021-07-26 11:00   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 09/30] drm/i915/display: remove explicit CNL handling from intel_display_debugfs.c Lucas De Marchi
2021-07-26 11:06   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 10/30] drm/i915/display: remove explicit CNL handling from intel_dmc.c Lucas De Marchi
2021-07-26 11:06   ` Rodrigo Vivi
2021-07-26 23:21   ` Matt Roper
2021-07-24  0:10 ` [Intel-gfx] [PATCH 11/30] drm/i915/display: remove explicit CNL handling from intel_dp.c Lucas De Marchi
2021-07-26 10:41   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 12/30] drm/i915/display: remove explicit CNL handling from intel_dpll_mgr.c Lucas De Marchi
2021-07-26 10:35   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 13/30] drm/i915/display: remove explicit CNL handling from intel_vdsc.c Lucas De Marchi
2021-07-26 11:05   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 14/30] drm/i915/display: remove explicit CNL handling from skl_universal_plane.c Lucas De Marchi
2021-07-26 10:22   ` Rodrigo Vivi
2021-07-24  0:10 ` [Intel-gfx] [PATCH 15/30] drm/i915/display: remove explicit CNL handling from intel_display_power.c Lucas De Marchi
2021-07-26 10:28   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 16/30] drm/i915/display: remove CNL ddi buf translation tables Lucas De Marchi
2021-07-26 10:56   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 17/30] drm/i915/display: rename CNL references in skl_scaler.c Lucas De Marchi
2021-07-26 10:11   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 18/30] drm/i915: remove explicit CNL handling from i915_irq.c Lucas De Marchi
2021-07-26 10:59   ` Rodrigo Vivi
2021-07-26 15:06     ` Lucas De Marchi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 19/30] drm/i915: remove explicit CNL handling from intel_pm.c Lucas De Marchi
2021-07-26 11:08   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 20/30] drm/i915: remove explicit CNL handling from intel_mocs.c Lucas De Marchi
2021-07-26 10:21   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 21/30] drm/i915: remove explicit CNL handling from intel_pch.c Lucas De Marchi
2021-07-26 10:14   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 22/30] drm/i915: remove explicit CNL handling from intel_wopcm.c Lucas De Marchi
2021-07-26 10:57   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 23/30] drm/i915/gt: remove explicit CNL handling from intel_sseu.c Lucas De Marchi
2021-07-26 23:21   ` Matt Roper
2021-07-24  0:11 ` [Intel-gfx] [PATCH 24/30] drm/i915: rename CNL references in intel_dram.c Lucas De Marchi
2021-07-26 10:22   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 25/30] drm/i915/gt: rename CNL references in intel_engine.h Lucas De Marchi
2021-07-26 10:38   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 26/30] drm/i915: finish removal of CNL Lucas De Marchi
2021-07-26 10:21   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 27/30] drm/i915: remove GRAPHICS_VER == 10 Lucas De Marchi
2021-07-26 10:08   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 28/30] drm/i915: rename/remove CNL registers Lucas De Marchi
2021-07-26 10:06   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 29/30] drm/i915: replace random CNL comments Lucas De Marchi
2021-07-26 10:09   ` Rodrigo Vivi
2021-07-24  0:11 ` [Intel-gfx] [PATCH 30/30] drm/i915: switch num_scalers/num_sprites to consider DISPLAY_VER Lucas De Marchi
2021-07-26 10:13   ` Rodrigo Vivi
2021-07-27  6:59     ` Lucas De Marchi
2021-07-24  0:40 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Remove CNL support Patchwork
2021-07-24  0:41 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-07-24  1:10 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-07-24  2:05 ` Jason Ekstrand [this message]
2021-07-24 12:37 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-07-26 11:07   ` Rodrigo Vivi
2021-07-26 13:59     ` Lucas De Marchi

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=17ad642e0a8.2817.c6988b7ea6112e3e892765a0d4287e0c@jlekstrand.net \
    --to=jason@jlekstrand.net \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=lucas.demarchi@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).