summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2022-05-10 16:04:47 +0200
committerAndi Shyti <andi.shyti@linux.intel.com>2022-05-18 15:44:45 +0200
commit1ade30812abfdd1c161a155fd54b0dd594c217ee (patch)
tree205be79cb4faacd9ed4570401ff2b2be34e87c31 /tools/perf/scripts
parent451374eef622fca6f00eeeda89aaccb45a30a149 (diff)
drm/i915/gt: Fix use of static in macro mismatch
The INTEL_GT_RPS_SYSFS_ATTR was creating to different structures but. When called with the "static" keyword this is affecting only the first structure, while the second is created as non static. Move the static keyword inside the macros to affect both the structures. Reported-by: Jani Nikula <jani.nikula@linux.intel.com> Fixes: 56a709cf77468 ("drm/i915/gt: Create per-tile RPS sysfs interfaces") Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220510140447.80200-1-andi.shyti@linux.intel.com
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions