diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-02-14 01:52:48 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-02-18 00:20:35 +0300 |
commit | 48630a3151b0373f005270c69f0caaaf08e22fd3 (patch) | |
tree | 5af4429e1ae0949b0ca99d423a679302d44fe1fa /tools/perf/scripts/python/flamegraph.py | |
parent | 55a4679e88b20310de0d614bd3b2f935f98ba5a9 (diff) | |
download | linux-48630a3151b0373f005270c69f0caaaf08e22fd3.tar.xz |
drm/i915: Flatten intel_ddi_{enable,disable}_transcoder_clock()
Use an early return to get rid of the extra indentation level
in intel_ddi_{enable,disable}_transcoder_clock().
Also unify the platform handling in between the two while at
it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230213225258.2127-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions