diff options
author | Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com> | 2019-12-13 07:51:51 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-13 20:16:23 +0000 |
commit | 3dc716fd3cfddfaabf919f5337d5ff8b199b1cb4 (patch) | |
tree | 181e106ac4e4b0e0dd6cb30f7e6421a7d3f8a89d /drivers/gpu/drm/i915/i915_perf_types.h | |
parent | b69fa3610b15497e487a6a35786de9600ee60932 (diff) | |
download | linux-3dc716fd3cfddfaabf919f5337d5ff8b199b1cb4.tar.gz linux-3dc716fd3cfddfaabf919f5337d5ff8b199b1cb4.tar.bz2 linux-3dc716fd3cfddfaabf919f5337d5ff8b199b1cb4.zip |
drm/i915/perf: Register sysctl path globally
We do not require to register the sysctl paths per instance,
so making registration global.
v2: make sysctl path register and unregister function driver
specific (Tvrtko and Lucas).
Cc: Sudeep Dutt <sudeep.dutt@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213155152.69182-1-venkata.s.dhanalakota@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf_types.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_perf_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_perf_types.h b/drivers/gpu/drm/i915/i915_perf_types.h index 74ddc20a0d37..45e581455f5d 100644 --- a/drivers/gpu/drm/i915/i915_perf_types.h +++ b/drivers/gpu/drm/i915/i915_perf_types.h @@ -380,7 +380,6 @@ struct i915_perf { struct drm_i915_private *i915; struct kobject *metrics_kobj; - struct ctl_table_header *sysctl_header; /* * Lock associated with adding/modifying/removing OA configs |