aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_cmd_parser.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2022-01-27 15:43:30 -0800
committerMatt Roper <matthew.d.roper@intel.com>2022-02-02 07:52:23 -0800
commit66a19a3a0e2d200121f30a48d13b80532582f1a5 (patch)
tree97ea41ee49d0fa1d773355fa48248a1a2764dc7e /drivers/gpu/drm/i915/i915_cmd_parser.c
parentdrm/i915/perf: Move OA regs to their own header (diff)
downloadlinux-dev-66a19a3a0e2d200121f30a48d13b80532582f1a5.tar.xz
linux-dev-66a19a3a0e2d200121f30a48d13b80532582f1a5.zip
drm/i915/perf: Express OA register ranges with i915_range
Let's use 'struct i915_range' to express sets of b-counter and mux registers in the perf code. This makes the code more similar to how we handle things like multicast register ranges, forcewake tables, shadow tables, etc. and also lets us avoid needing symbolic register name definitions for the various range end points. With this change, many of the OA register definitions are no longer used in the code, so we can drop their #define's for simplicity. v2: Drop 'inline' from reg_in_range_table(). (Jani) v3: Split the first range in gen12_oa_mux_regs[] so that 0xd08 isn't whitelisted. (Umesh) Cc: Jani Nikula <jani.nikula@intel.com> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220127234334.4016964-3-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_cmd_parser.c')
0 files changed, 0 insertions, 0 deletions