summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2024-11-05 00:35:11 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2024-11-05 22:24:33 +0300
commit6ba29f1352482b815e2414b718bbd6de8d884d10 (patch)
tree0c2ac8c092f57c09dceb98f03f342e9e1eabfc55 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent9116b5760e615336b0c5060a85b25b2ec7d7c48b (diff)
downloadlinux-6ba29f1352482b815e2414b718bbd6de8d884d10.tar.xz
drm/i915/pmu: Replace closed with registered
Since i915 calls perf_pmu_register/perf_pmu_unregister, let's call the variable "registered" so we can flip the logic and rely on it being false by default. Looking at other drivers, it's also more common. Examples: arch/x86/events/intel/uncore.c and drivers/powercap/intel_rapl_common.c. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241104213512.2314930-4-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions