]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: rework mux configurations queries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 13 Jun 2017 11:23:01 +0000 (12:23 +0100)
committerBen Widawsky <ben@bwidawsk.net>
Wed, 14 Jun 2017 19:31:57 +0000 (12:31 -0700)
commit734ad021eef57b634790f8ac168ff2e80933603e
tree012635a952e9eee7acf2ccb2e47509e04de869fc
parent101387521b75d12c3e379d62979d71d6c015f350
drm/i915/perf: rework mux configurations queries

Gen8+ might have mux configurations per slices/subslices. Depending on
whether slices/subslices have been fused off, only part of the
configuration needs to be applied. This change reworks the mux
configurations query mechanism to allow more than one set of registers
to be programmed.

v2: s/n_mux_regs/n_mux_configs/ (Matthew)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_oa_hsw.c
drivers/gpu/drm/i915/i915_oa_hsw.h
drivers/gpu/drm/i915/i915_perf.c