aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_encoder.h
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-11-02 10:11:44 -0800
committerSam Ravnborg <sam@ravnborg.org>2020-11-07 12:06:18 +0100
commit982f589bde7a7f4c8a9f5d4c94fad02a9e8dcf3e (patch)
tree49240a8f29cedb82d4ef42618d9c85079ec738b1 /include/drm/drm_encoder.h
parentdrm/bridge: ti-sn65dsi86: Read EDID blob over DDC (diff)
downloadlinux-dev-982f589bde7a7f4c8a9f5d4c94fad02a9e8dcf3e.tar.xz
linux-dev-982f589bde7a7f4c8a9f5d4c94fad02a9e8dcf3e.zip
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 <dianders@chromium.org> Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com> Cc: Jonas Karlman <jonas@kwiboo.se> Cc: Jernej Skrabec <jernej.skrabec@siol.net> Cc: Sean Paul <seanpaul@chromium.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20201102181144.3469197-5-swboyd@chromium.org
Diffstat (limited to 'include/drm/drm_encoder.h')
0 files changed, 0 insertions, 0 deletions