diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-02-27 22:10:44 -0800 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-02-29 20:28:42 -0800 |
| commit | 25664e328f930811fd2e91f32d540a453bcf1334 (patch) | |
| tree | da78cca36a0015af97f22bbfe6c56f590c8a69eb /tools/perf/scripts/python/flamegraph.py | |
| parent | d0a5fb2e0a5abeaad983c5c5c52b88ccef3aaae2 (diff) | |
| download | linux-25664e328f930811fd2e91f32d540a453bcf1334.tar.gz linux-25664e328f930811fd2e91f32d540a453bcf1334.zip | |
drm/xe/mocs: Refactor mocs/l3cc loop
There's no reason to keep the assignment an condition in the same
statement, particularly making use of the comma operator. Improve
readability by doing each step on its own statement. This will make
supporting odd number of entries more easily.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240228061048.3661978-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
