[PATCH 0/5] drm/i915: cleanup dead code
Tvrtko Ursulin
tursulin at ursulin.net
Mon Mar 11 17:43:00 UTC 2024
On 06/03/2024 19:36, Lucas De Marchi wrote:
> 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.
I had PVC and xehpsdv back in October but could not collect all acks. :(
Last two patches from https://patchwork.freedesktop.org/series/124705/.
Regards,
Tvrtko
> 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 at 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(-)
>
More information about the Intel-gfx
mailing list