]> 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)
commita0e9dff3a33cca16a6cbc504cc688e26373b0f76
tree012635a952e9eee7acf2ccb2e47509e04de869fc
parent778887ef1d6fa3a59963d3b05f231be2833040b7
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