aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-11-02 10:11:44 -0800
committerSam Ravnborg <[email protected]>2020-11-07 12:06:18 +0100
commit982f589bde7a7f4c8a9f5d4c94fad02a9e8dcf3e (patch)
tree49240a8f29cedb82d4ef42618d9c85079ec738b1 /tools/perf/scripts/python/sched-migration.py
parent58074b08c04af1817ab34be986a80279e7267d07 (diff)
drm/bridge: ti-sn65dsi86: Update reply on aux failures
We should be setting the drm_dp_aux_msg::reply field if a NACK or a SHORT reply happens. Update the error bit handling logic in ti_sn_aux_transfer() to handle these cases and notify upper layers that such errors have happened. This helps the retry logic understand that a timeout has happened, or to shorten the read length if the panel isn't able to handle the longest read possible. Note: I don't have any hardware that exhibits these code paths so this is written based on reading the datasheet for this bridge and inspecting the code and how this is called. Changes in v2: - Move WRITE_STATUS_UPDATE check from case to assignment Changes in v2: - Handle WRITE_STATUS_UPDATE properly Reviewed-by: Douglas Anderson <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Jonas Karlman <[email protected]> Cc: Jernej Skrabec <[email protected]> Cc: Sean Paul <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions