aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo Sousa <[email protected]>2024-03-12 13:36:34 -0300
committerLucas De Marchi <[email protected]>2024-03-13 05:46:45 -0700
commit452269e2f0ea180a4bc39fd4643df7fe2ea0bb8e (patch)
tree999628d8a324bfb53c4c5d1acfb32daed66f8dff /tools/perf/scripts/python/export-to-postgresql.py
parent5372a54d7a3cf32c761d2896276b72b495bcb497 (diff)
drm/i915/cdclk: Only compute squash waveform when necessary
It is no use computing the squash waveform if we are not going to use it. Move the call to cdclk_squash_waveform() inside the block guarded by HAS_CDCLK_SQUASH(dev_priv). v2: - Move "u16 waveform" declaration to inside the block where it is initialized and used. (Matt) Reviewed-by: Matt Roper <[email protected]> Signed-off-by: Gustavo Sousa <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions