drm/i915/pmu: Remove conditional HOTPLUG_CPU registration
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Nov 2017 12:34:31 +0000 (12:34 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 24 Nov 2017 09:54:43 +0000 (09:54 +0000)
commit141a0895d5ad3d2540c3d08651f2b63443fb8dfd
tree7973fa659bc80e5918f584c2e106f23cadd17d37
parente7e5da7127d5c9c076f05d6ed71bdf6826fc536c
drm/i915/pmu: Remove conditional HOTPLUG_CPU registration

Even for static CPU configurations, the hotplug CPU framework is still
used to determine the CPU topology, and is still being used by the perf
event register to check for valid CPUs.

Fixes: b46a33e271ed ("drm/i915/pmu: Expose a PMU interface for perf queries")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123123432.25035-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_pmu.c