]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/perf: Add helper macros for comparing with whitelisted registers
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Fri, 25 Oct 2019 19:37:45 +0000 (12:37 -0700)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 29 Oct 2019 10:53:54 +0000 (12:53 +0200)
commitfc21523041107a4b2d47b05e1ad2a360659dbc4f
tree23b26e760931577d6ccd608f7323bf3e8fc41f1a
parente60f7bb7ea68c46b006aa8f3d562933e7b1d4c9e
drm/i915/perf: Add helper macros for comparing with whitelisted registers

Add helper macros for range and equality comparisons and use them to
check with whitelisted registers in oa configurations.

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191025193746.47155-1-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/i915_perf.c