summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-12-04 20:05:45 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-21 18:16:34 +0200
commitfa7edcd25cd0ffd0321d89c2cf0257ce043c8e60 (patch)
tree20451ed83e1620a5db9ef704f5f902c6fb65aaa6 /tools/perf/scripts/python/exported-sql-viewer.py
parent6fe20299b3eec33e544485f5fc65524f145465be (diff)
downloadlinux-fa7edcd25cd0ffd0321d89c2cf0257ce043c8e60.tar.gz
linux-fa7edcd25cd0ffd0321d89c2cf0257ce043c8e60.zip
drm/i915: Use intel_attached_encoder()
It's easy to confuse the drm_connector->encoder (legacy state adjusted during modeset) and intel_connector->encoder (the statically (sans. MST) attached encoder of the connector). For the latter let's use intel_attached_encoder() consistently. @@ identifier F !~ "^intel_attached_encoder$"; struct intel_connector *C; expression E; @@ F(...) { <... ( C->encoder = E | - C->encoder + intel_attached_encoder(C) ) ...> } @@ identifier F !~ "^intel_attached_encoder$"; struct drm_connector *C; expression E; @@ F(...) { <... ( to_intel_connector(C)->encoder = E | - to_intel_connector(C)->encoder + intel_attached_encoder(to_intel_connector(C)) ) ...> } v2: Regenerated Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191204180549.1267-6-ville.syrjala@linux.intel.com Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions