summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-01-28 18:59:48 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-01-30 02:42:37 +0300
commit5b6a9ba9f6cefa41b2dd9b0c9ba36646b81ce0a1 (patch)
treec6cc70ce5c95844dadef1920873b24dc862eb803 /tools/perf/scripts/python
parentc9b69041f0e0f3b6f2019c81ffe3b732f605ea00 (diff)
downloadlinux-5b6a9ba9f6cefa41b2dd9b0c9ba36646b81ce0a1.tar.xz
drm/i915: Don't check tc_mode unless dealing with a TC PHY
We shouldn't really trust tc_mode on non-TC PHYs since we never initialize it explicitly. So let's check for the PHY type first. Fortunately TC_PORT_TBT_ALT happens to be zero so I don't think there's an actual bug here, just a possibility for a future one if someone rearranges the enum values. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210128155948.13678-5-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions