aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2018-08-06 12:58:37 +0300
committerImre Deak <[email protected]>2018-08-08 13:49:43 +0300
commitf28ec6f4ea483554aacc59e8eb4a7667ecaf58ad (patch)
treef230657cb0e68205b8252237e90cefb21095bede /tools/perf/scripts/python/bin/stackcollapse-report
parent3ae27f7e103d95a820061fa692d0fe53303ccf98 (diff)
drm/i915: Constify power well descriptors
It makes sense to keep unchanging data const. Extract such fields from the i915_power_well struct into a new i915_power_well_desc struct that we initialize during compile time. For the rest of the dynamic fields allocate an array of i915_power_well objects in i915 dev_priv, and link to each of these objects their corresponding i915_power_well_desc object. v2: - Fix checkpatch warnings about missing param name in fn declaration and lines over 80 chars. (Paulo) - Move check for unique IDs to __set_power_wells(). Cc: Ville Syrjala <[email protected]> Cc: Paulo Zanoni <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Imre Deak <[email protected]> [Fixed checkpatch warn in __set_power_wells()] Reviewed-by: Paulo Zanoni <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions