Commit 64d97619 authored by Carlos Llamas's avatar Carlos Llamas
Browse files

GKI: drm: samsung: introduce EXYNOS_DSI_MSG_QUEUE flag



Commit 1026fb2f81df1 ("ANDROID: drivers: gpu: drm: add support to batch
commands)" was reverted in ACK breaking the ability to batch commands
sucessfully. Since MIPI_DSI_MSG_LASTCOMMAND flag was no longer set on
mipi_dsi_device_transfer(), the commands would be kept queued until the
number of pending packets exceeded its threshold. This resulted in a
visible lag on the display (specially when UART was enabled).

This patch introduces the EXYNOS_DSI_MSG_QUEUE flag as an inverse logic
replacement of the reverted MIPI_DSI_MSG_LASTCOMMAND flag. Commands not
marked with EXYNOS_DSI_MSG_QUEUE flag should now be considered the last
command of the batch and be sent immediately.

Bug: 201090883
Test: Batching works. Display lag fixed even with UART enabled.
Suggested-by: default avatarAdrian Salido <salidoa@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Change-Id: I2662d96e66a21c38567e46ea36bab54f03355048
parent c48eda91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment