aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2022-11-17 10:28:50 +0100
committerMaxime Ripard <[email protected]>2022-11-24 12:42:39 +0100
commitd4613e3e50d34bc30ea384b8bf9560e874451640 (patch)
treec7d0c78c254cb0f890afb65e257729e1b998cf63 /tools/perf/scripts/python/stackcollapse.py
parent4fcd238560ee6724d6edcae95820bdf7f2e40ab1 (diff)
drm/connector: Add a function to lookup a TV mode by its name
As part of the command line parsing rework coming in the next patches, we'll need to lookup drm_connector_tv_mode values by their name, already defined in drm_tv_mode_enum_list. In order to avoid any code duplication, let's do a function that will perform a lookup of a TV mode name and return its value. Reviewed-by: Noralf Trønnes <[email protected]> Tested-by: Mateusz Kwiatkowski <[email protected]> Acked-in-principle-or-something-like-that-by: Daniel Vetter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions