[RFC 00/14] DSI Command mode(DBI mode) enabling on CHT

Gaurav K Singh
2015-05-29T10:39:51Z

Hi,

These set of patches are for enabling DSI command mode. Command Mode refers to
an operation in which transactions primarily take the form of sending commands
and data to a peripheral that incorporates a display controller. The display
controller may include local registers and a frame buffer. The host processor
indirectly controls activity at the peripheral by sending commands, parameters
and data to the display controller.

Sink refreshes from its local frame buffer. Image updates require Source to write
new data into the frame buffer which Source sends in the form of command + payload.

The command mode panel we have here is 1080 x 1920. For this panel, features like support of
i2c transactions for sending backlight on sequence, VBT version 3 patches, GPIO configuration
changes for CHT are required. The same will be added as part of different patch series.
Floating the command mode patches separately to start with the initial review.

Regards
Gaurav

Gaurav K Singh (14):
drm/i915: allocate gem memory for mipi dbi cmd buffer
drm/i915: Add support for TEAR ON Sequence
drm/i915: Add functions for dcs memory write cmd
drm/i915: Calculate bw timer for mipi DBI interface
drm/i915: Use the bpp value wrt the pixel format
drm/i915: Disable vlank interrupt for disabling MIPI cmd mode
drm/i915: Disable MIPI display self refresh mode
drm/i915: Disable Tearing effect trigger by GPIO pin
drm/i915: Changes for command mode preparation
drm/i915: Enable Tearing effect trigger by GPIO pin
drm/i915: Enable MIPI display self refresh mode
drm/i915: Generalize DSI enable function
drm/i915: Reset the display hw if vid mode to cmd mode
drm/i915: send one frame after enabling mipi cmd mode

drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_bios.h | 4 +
drivers/gpu/drm/i915/intel_display.c | 155 ++++++++++++++++++++++++----
drivers/gpu/drm/i915/intel_drv.h | 7 ++
drivers/gpu/drm/i915/intel_dsi.c | 136 +++++++++++++++++++++---
drivers/gpu/drm/i915/intel_dsi.h | 5 +
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 36 ++++++-
8 files changed, 311 insertions(+), 34 deletions(-)

--
1.7.9.5