diff options
| author | Jani Nikula <[email protected]> | 2023-02-02 14:04:48 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2023-02-02 21:33:59 +0200 |
| commit | e4ef6503bd4c4ee6fbed2623c50a338dc93d5e9e (patch) | |
| tree | 737e6bdd931783296b217204713c91e7754e6631 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 14f25bd0bb938af7359433db4ef9495aad4cf703 (diff) | |
drm/i915/dmc: add proper name to dmc id enum and use it
Clarify DMC ID usage by adding enum intel_dmc_id name to the enum, and
use dmc_id as the variable name for it throughout.
Convert a switch-case to if-ladder to avoid warnings about not handling
DMC_FW_MAX enumeration constant in the switch-case.
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/6912ccb411bb957c68c108b774745dbc7e0cbdc2.1675339447.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions