linux/drivers/gpu/drm
Wyon Bi 8d080a0b20 drm/rockchip: dsi: Allow transmission of commands in high-speed in video mode
DWC_mipi_dsi_host can be configured to send the low-power (LP)
commands during the HS video mode transmission. To enable this
feature, set the lp_cmd_en bit of the VID_MODE_CFG register to 1.
In this case, it is necessary to calculate the time available,
in bytes, to transmit a command in LP mode to Horizontal Front Porch (HFP),
Vertical Sync Active (VSA), Vertical Back Porch (VBP), and
Vertical Front Porch (VFP) regions.

Bits 8 to 13 of the VID_MODE_CFG register indicates if DWC_mipi_dsi_host
can go to LP when in idle. If the lp_cmd_en bit is set (1'b1) and
non-video packets are in queue, DWC_mipi_dsi_host ignores the LP
configuration and transmits LP commands, even if it is not allowed
to enter LP in a specific region. After the LP commands transmission,
DWC_mipi_dsi_host remains in LP until a sync event occurs.

If the lp_cmd_en bit of the VID_MODE_CFG register is 0, the commands
are sent in high-speed in Video Mode. In this case, the DWC_mipi_dsi_host
automatically determines the area where each command can be sent and no
programming or calculation is required.

Change-Id: Id47982c2c7605be17c4d295707fd5496f32f79fe
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-10-08 16:32:59 +08:00
..
amd Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
armada Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
ast
atmel-hlcdc
bochs
bridge drm/bridge: synopsys: dw-hdmi: Fix crush when system suspend 2018-09-10 15:24:06 +08:00
cirrus
exynos Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
fsl-dcu
gma500 Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
i2c Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
i810
i915 LSK 18.06 v4.4-android 2018-07-06 20:12:54 +08:00
imx Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
mga
mgag200 Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
msm Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
nouveau Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
omapdrm LSK 18.05 v4.4-android 2018-06-04 20:16:28 +08:00
panel drm/panel: simple: fix loader protect 2018-09-04 09:16:30 +08:00
qxl Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
r128
radeon Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
rcar-du Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
rockchip drm/rockchip: dsi: Allow transmission of commands in high-speed in video mode 2018-10-08 16:32:59 +08:00
savage
shmobile
sis
sti Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
tdfx
tegra
tilcdc
ttm drm/ttm: check the return value of kzalloc 2018-03-03 10:19:44 +01:00
udl Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
vc4
vgem
via
virtio LSK 18.06 v4.4-android 2018-07-06 20:12:54 +08:00
vmwgfx LSK 18.05 v4.4-android 2018-06-04 20:16:28 +08:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic_helper.c UPSTREAM: drm/atomic: Fix remaining places where !funcs->best_encoder is valid 2018-01-23 14:27:05 +08:00
drm_atomic.c Merge branch 'linux-linaro-lsk-v4.4' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-09-07 17:34:34 +08:00
drm_auth.c
drm_bridge.c UPSTREAM: drm/bridge: Make (pre/post) enable/disable callbacks optional 2017-08-14 14:57:20 +08:00
drm_bufs.c
drm_cache.c
drm_context.c
drm_crtc_helper.c
drm_crtc_internal.h drm/crtc: Export drm_mode_connector_set_obj_prop 2018-08-15 17:28:40 +08:00
drm_crtc.c BACKPORT: drm: Add Content Protection property 2018-08-15 17:28:40 +08:00
drm_debugfs.c drm/rockchip: add a debug node to dump buf from application 2018-04-27 10:43:43 +08:00
drm_dma.c
drm_dp_helper.c
drm_dp_mst_topology.c drm/dp/mst: save vcpi with payloads 2017-10-21 17:09:01 +02:00
drm_drv.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
drm_edid_load.c
drm_edid.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c UPSTREAM: drm/atomic: Fix remaining places where !funcs->best_encoder is valid 2018-01-23 14:27:05 +08:00
drm_flip_work.c
drm_fops.c LSK 18.06 v4.4-android 2018-07-06 20:12:54 +08:00
drm_gem_cma_helper.c
drm_gem.c UPSTREAM: drm: Release driver references to handle before making it available again 2017-12-28 16:24:06 +08:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c UPSTREAM: drm: Add support for pps and compression mode command packet 2018-10-08 16:32:59 +08:00
drm_mm.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
drm_modes.c drm/rockchip: vop: add support dclk invert config 2018-04-19 18:39:34 +08:00
drm_modeset_lock.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
drm_of.c UPSTREAM: drm: of: introduce drm_of_find_panel_or_bridge 2017-11-08 10:29:53 +08:00
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_platform.c
drm_prime.c
drm_probe_helper.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_sync_helper.c
drm_sysfs.c CHROMIUM: drm/sysfs: Make content_protection R/W 2018-08-15 17:28:40 +08:00
drm_trace_points.c
drm_trace.h
drm_vm.c
drm_vma_manager.c
Kconfig
Makefile