diff options
author | Manasi Navare <[email protected]> | 2017-06-08 13:41:03 -0700 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-08-15 10:32:25 +0300 |
commit | 140ef138db07285b9eecf14ae3ee7c0a407ab93a (patch) | |
tree | d2f7410637364849e69a7a8a2de46b4f85bcd8e7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1a92c70ed8053855811d5e8c62e6a14e1d06e4ab (diff) |
drm/i915/dp: Validate the compliance test link parameters
Validate the compliance test link parameters when the compliance
test dpcd registers are read. Also validate them in compute_config
before using them since the max values might have been reduced
due to link training fallback.
If either the link rate or lane count is invalid, we still bail
from using the test parameters since the combination would not work
and instead use the fallback values.
v2:
* Added commit message to explain why we still bail when either of
of the params is invalid (Ville Syrjala)
* Add reason for validating in the comment (Jani Nikula)
* Also check if index >= 0 after validating (Jani Nikula)
Signed-off-by: Manasi Navare <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Ville Syrjala <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Tested-by: Nathan Ciobanu <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions