diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-10-27 22:31:28 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-10-30 21:00:39 +0300 |
| commit | 35686a44e4b87f45ebd426a7e2b074a54486844f (patch) | |
| tree | 31627460f9547283a87ba52125eace87770f8449 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 1939ba51fd058b869c06aa084c0b9ae75bc721c6 (diff) | |
| download | linux-35686a44e4b87f45ebd426a7e2b074a54486844f.tar.xz | |
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 <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027193128.14483-7-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
