]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: move and rename reg_in_range_table
authorMatt Atwood <matthew.s.atwood@intel.com>
Thu, 9 Oct 2025 21:52:08 +0000 (14:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 16 Oct 2025 19:20:56 +0000 (15:20 -0400)
commit27e21516914dc130a79aa895a5a26e18f0213a5a
treefeada21d4a95543097a8603407820746059556c6
parent08c54f3c83e531d13f165ea341a312a49a4eb267
drm/i915: move and rename reg_in_range_table

reg_in_range_table is a useful function that is used in multiple places,
and will be needed for WA_BB implementation later.

Let's move this function and i915_range struct to its own file, as we are
trying to move away from i915_utils files.

v2: move functions to their own file
v3: use correct naming convention

Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Link:
https://lore.kernel.org/r/20251009215210.41000-1-matthew.s.atwood@intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_mmio_range.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_mmio_range.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/i915/intel_uncore.h
drivers/gpu/drm/i915/selftests/intel_uncore.c