diff options
| author | Ville Syrjälä <[email protected]> | 2017-10-27 22:31:28 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-10-30 20:00:39 +0200 |
| commit | 35686a44e4b87f45ebd426a7e2b074a54486844f (patch) | |
| tree | 31627460f9547283a87ba52125eace87770f8449 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 1939ba51fd058b869c06aa084c0b9ae75bc721c6 (diff) | |
drm/i915: Use intel_ddi_get_config() for MST
Eliminate the partially duplicated DDI readout code from MST, and
instead just call intel_ddi_get_config(). As a nice bonus we get
more cross checking as intel_ddi_get_config() will populate
output_types based on the actual mode of the DDI port.
Additonally intel_ddi_get_config() must be changed to get the crtc
from the passed in crtc state rather than from the encoder->crtc link.
encoder->crtc really shouldn't be used anyway.
v2: Rebased on BXT MST latency_optim fix
Make intel_ddi_clock_get() static
Cc: Maarten Lankhorst <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions