diff options
author | vkorjani <vikas.korjani@intel.com> | 2018-04-10 10:12:45 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-07-25 07:51:05 -0400 |
commit | ea107a183be1d6e69448d7100121c479e24b7c1d (patch) | |
tree | 5bfac203d267dfdd5979c03ab28e82ea2f023fa3 /include | |
parent | 23f9455157f62e2fc7fbe7654717bcb70eee543d (diff) | |
download | linux-ea107a183be1d6e69448d7100121c479e24b7c1d.tar.bz2 |
drm: Add support for pps and compression mode command packet
After enabling DSC we need to send compression mode command packet
and pps data packet, for which 2 new data types are added
07h Compression Mode Data Type Write , short write, 2 parameters
0Ah PPS Long Write (word count determines number of bytes)
This patch adds support to send these packets.
Cc: David Airlie <airlied@linux.ie>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Changes in v3:
- None
Signed-off-by: vkorjani <vikas.korjani@intel.com>
[seanpaul removed pps_write_buffer fn, added types to packet_format helpers]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/mipi_display.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/video/mipi_display.h b/include/video/mipi_display.h index 19aa65a35546..49a53ef8da96 100644 --- a/include/video/mipi_display.h +++ b/include/video/mipi_display.h @@ -38,6 +38,9 @@ enum { MIPI_DSI_DCS_READ = 0x06, + MIPI_DSI_DCS_COMPRESSION_MODE = 0x07, + MIPI_DSI_PPS_LONG_WRITE = 0x0A, + MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE = 0x37, MIPI_DSI_END_OF_TRANSMISSION = 0x08, |