]> git.baikalelectronics.ru Git - kernel.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)
commit4ae7a70b94548cacf84b34036871e24d6552d80c
tree23b26e760931577d6ccd608f7323bf3e8fc41f1a
parent0591d9cf421768f4470ebb750e76a3013e1bdc5a
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