From: Lucas De Marchi <lucas.demarchi@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org,
Lucas De Marchi <lucas.demarchi@intel.com>
Subject: [PATCH 0/5] drm/i915: cleanup dead code
Date: Wed, 6 Mar 2024 11:36:38 -0800 [thread overview]
Message-ID: <20240306193643.1897026-1-lucas.demarchi@intel.com> (raw)
Remove platforms that never had their PCI IDs added to the driver and
are of course marked with requiring force_probe. Note that most of the
code for those platforms is actually used by subsequent ones, so it's
not a huge amount of code being removed.
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h is also changed on the
xe side, but that should be ok: the defines are there only for compat
reasons while building the display side (and none of these platforms
have display, so it's build-issue only).
First patch is what motivated the others and was submitted alone
@ 20240306144723.1826977-1-lucas.demarchi@intel.com .
While loooking at this WA I was wondering why we still had some of that
code around.
Build-tested only for now.
Lucas De Marchi (5):
drm/i915: Drop WA 16015675438
drm/i915: Drop dead code for xehpsdv
drm/i915: Update IP_VER(12, 50)
drm/i915: Drop dead code for pvc
drm/i915: Remove special handling for !RCS_MASK()
Documentation/gpu/rfc/i915_vm_bind.h | 11 +-
.../gpu/drm/i915/gem/i915_gem_object_types.h | 2 +-
.../gpu/drm/i915/gem/selftests/huge_pages.c | 4 +-
.../i915/gem/selftests/i915_gem_client_blt.c | 8 +-
drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 5 +-
drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 40 ++--
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 43 +---
.../drm/i915/gt/intel_execlists_submission.c | 10 +-
drivers/gpu/drm/i915/gt/intel_gsc.c | 15 --
drivers/gpu/drm/i915/gt/intel_gt.c | 4 +-
drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 52 +----
drivers/gpu/drm/i915/gt/intel_gt_mcr.h | 2 +-
drivers/gpu/drm/i915/gt/intel_gt_regs.h | 59 ------
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 21 +-
drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +-
drivers/gpu/drm/i915/gt/intel_lrc.c | 51 +----
drivers/gpu/drm/i915/gt/intel_migrate.c | 22 +-
drivers/gpu/drm/i915/gt/intel_mocs.c | 52 +----
drivers/gpu/drm/i915/gt/intel_rps.c | 6 +-
drivers/gpu/drm/i915/gt/intel_sseu.c | 13 +-
drivers/gpu/drm/i915/gt/intel_workarounds.c | 193 +-----------------
drivers/gpu/drm/i915/gt/uc/intel_guc.c | 6 +-
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 4 +-
drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 2 +-
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 1 -
.../gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +-
drivers/gpu/drm/i915/gt/uc/intel_uc.c | 4 -
drivers/gpu/drm/i915/i915_debugfs.c | 12 --
drivers/gpu/drm/i915/i915_drv.h | 13 --
drivers/gpu/drm/i915/i915_getparam.c | 4 +-
drivers/gpu/drm/i915/i915_gpu_error.c | 5 +-
drivers/gpu/drm/i915/i915_hwmon.c | 6 -
drivers/gpu/drm/i915/i915_pci.c | 61 +-----
drivers/gpu/drm/i915/i915_perf.c | 19 +-
drivers/gpu/drm/i915/i915_query.c | 2 +-
drivers/gpu/drm/i915/i915_reg.h | 4 +-
drivers/gpu/drm/i915/intel_clock_gating.c | 26 +--
drivers/gpu/drm/i915/intel_device_info.c | 2 -
drivers/gpu/drm/i915/intel_device_info.h | 2 -
drivers/gpu/drm/i915/intel_step.c | 80 +-------
drivers/gpu/drm/i915/intel_uncore.c | 159 +--------------
drivers/gpu/drm/i915/selftests/intel_uncore.c | 3 -
.../gpu/drm/xe/compat-i915-headers/i915_drv.h | 6 -
43 files changed, 110 insertions(+), 928 deletions(-)
--
2.43.0
next reply other threads:[~2024-03-06 19:36 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 19:36 Lucas De Marchi [this message]
2024-03-06 19:36 ` [PATCH 1/5] drm/i915: Drop WA 16015675438 Lucas De Marchi
2024-03-12 22:54 ` Matt Roper
2024-03-12 23:47 ` Lucas De Marchi
2024-03-06 19:36 ` [PATCH 2/5] drm/i915: Drop dead code for xehpsdv Lucas De Marchi
2024-03-11 15:16 ` Rodrigo Vivi
2024-03-12 16:29 ` Lucas De Marchi
2024-03-12 22:58 ` Matt Roper
2024-03-12 23:07 ` Lucas De Marchi
2024-03-06 19:36 ` [PATCH 3/5] drm/i915: Update IP_VER(12, 50) Lucas De Marchi
2024-03-11 15:18 ` Rodrigo Vivi
2024-03-11 15:29 ` Lucas De Marchi
2024-03-11 16:21 ` Rodrigo Vivi
2024-03-06 19:36 ` [PATCH 4/5] drm/i915: Drop dead code for pvc Lucas De Marchi
2024-03-11 15:29 ` Rodrigo Vivi
2024-03-11 15:35 ` Lucas De Marchi
2024-03-11 16:22 ` Rodrigo Vivi
2024-03-06 19:36 ` [PATCH 5/5] drm/i915: Remove special handling for !RCS_MASK() Lucas De Marchi
2024-03-07 2:37 ` ✗ Fi.CI.SPARSE: warning for drm/i915: cleanup dead code Patchwork
2024-03-07 2:56 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-03-11 17:43 ` [PATCH 0/5] " Tvrtko Ursulin
2024-03-11 19:27 ` Lucas De Marchi
2024-03-12 9:54 ` Tvrtko Ursulin
2024-03-12 12:53 ` 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=20240306193643.1897026-1-lucas.demarchi@intel.com \
--to=lucas.demarchi@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox