summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPadmanabhan Komanduru <pkomandu@codeaurora.org>2014-09-05 21:54:30 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:33:50 -0700
commitf3263cd2d5c423fdddb9dfe9adf68343c29450ef (patch)
treec80a304db356ca1702f9cb02e80ad6be7d608e80 /include/uapi/linux
parent72454981c60a53efd2ec2272d28ba5afcc674479 (diff)
msm: mdss: handle DSI command rx for less than 8 bytes requested
Currently, for long read response commands with rlen less than 8, there are padding bytes being expected to be sent by the panel. However, there might be some panels which do not support extra padding bytes. Due to this, the read response might not be stored in the first byte of the rx buffer. The RDBK_DATA_CTRL register is available from DSI6G v1.1.0 and above. Make use of this register to check the number of bytes returned by the panel. Based on this, calculate the offset of the first valid byte of the response in the rx buffer. For targets which do not have this register, calculate the offset based on the software state of the read length variable. Change-Id: I94d3f6d7a453f925bdfd967cdb23cf6aab1ac3a8 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions