OSDN Git Service

drm/mcde: Retry DSI read/write transactions
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Aug 2020 19:44:51 +0000 (21:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 15 Aug 2020 10:14:18 +0000 (12:14 +0200)
commit72957f48aaaa4e62bff22af81b5d96ca6bd0f492
tree2e479937744b4114cce5f4ee17aafdf332133908
parentf098f168e91ca915c6cf8aa316136af647792f2f
drm/mcde: Retry DSI read/write transactions

The vendor driver makes a few retries on read DSI
transactions, something that is needed especially in
case of read (such as reading the panel MTP ID) while
the panel is running in video mode. This happens on
the Samsung s6e63m0 panel on the Golden device.

Retry reads and writes alike three times.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Cc: Stephan Gerhold <stephan@gerhold.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200814194451.3494294-1-linus.walleij@linaro.org
drivers/gpu/drm/mcde/mcde_dsi.c