aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorManasi Navare <manasi.d.navare@intel.com>2016-12-05 16:27:36 -0800
committerJani Nikula <jani.nikula@intel.com>2016-12-13 16:20:00 +0200
commitf482984acb101d351a49ab0ec51c75dbf094a51d (patch)
tree6abe3c8b70b1a9ea6dc37fa614e1dabdcca8b9e7 /tools/perf/scripts/python
parentdrm/i915/bxt: add bxt dsi gpio element support (diff)
downloadlinux-f482984acb101d351a49ab0ec51c75dbf094a51d.tar.gz
linux-f482984acb101d351a49ab0ec51c75dbf094a51d.zip
drm/i915: Compute sink's max lane count/link BW at Hotplug
Sink's capabilities are advertised through DPCD registers and get updated only on hotplug. So they should be computed only once in the long pulse handler and saved off in intel_dp structure for the use later. For this reason two new fields max_sink_lane_count and max_sink_link_bw are added to intel_dp structure. This also simplifies the fallback link rate/lane count logic to handle link training failure. In that case, the max_sink_link_bw and max_sink_lane_count can be reccomputed to match the fallback values lowering the sink capabilities due to link train failure. Cc: Ville Syrjala <ville.syrjala@linux.intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Manasi Navare <manasi.d.navare@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1480984058-552-3-git-send-email-manasi.d.navare@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions