1
0
Fork 0
Commit Graph

112 Commits (redonkable)

Author SHA1 Message Date
Liu Ying accaed25e2 gpu: imx: dpu: Access regs in display engine units wo holding mutex
We don't need holding mutex when accessing registers in display engine
units, because KMS is the only relevant client driver and it has ww mutex
mechansim to ensure there is no race condition on the CRTC resources.
Also, we are naturally safe when the driver initializes the units at the
probe and system power management stages.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:06 +08:00
Liu Ying f53dd7a041 gpu: imx: dpu: fetchunit: Add DPR support
This patch adds DPR support for fetchunit in the DPU base driver.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:05 +08:00
Liu Ying 35b8f4aa7c gpu: imx: dpu: fetchunit: Use TKT343664&TKT339017's fixups for ->set_src_stride()
This patch uses TKT343664&TKT339017's fixups for ->set_src_stride().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:05 +08:00
Liu Ying 8212c85a3c gpu: imx: dpu: fetchunit: Use TKT343664&TKT339017's fixups for ->set_baseaddress()
This patch uses TKT343664&TKT339017's fixups for ->set_baseaddress().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:04 +08:00
Liu Ying acbd004cf4 gpu: imx: dpu: fetchunit: Use TKT343664's fixup for ->set_burstlength()
This patch uses TKT343664 burst size fixup for ->set_burstlength().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:03 +08:00
Liu Ying 2458abce7a gpu: imx: dpu: fetchunit: Add helper for TKT339017 to fixup stride
This patch adds helper fetchunit_stride_fixup_tkt339017() for
TKT339017 to fixup stride.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:02 +08:00
Liu Ying c33e9faa20 gpu: imx: dpu: fetchunit: Add helper for TKT343664 to fixup burst size
This patch adds helper fetchunit_burst_size_fixup_tkt343664() for
TKT343664 to fixup burst size.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:02 +08:00
Xianzhong a571b89dea MLK-15321-1 gpu: imx: dpu: Add dpu blit engine device
Implement Blt engine as DRM renderer.
Add dpu blit engine device. And as dpu bliteng has
no device tree node, so to set dpu's of_node as the
platform data for imx-drm component compare_of.

Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Acked-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:58:00 +08:00
Sandor Yu 4d6bbfd527 gpu: imx: dpu: framegen: add disp_lpcg clock
Add disp_lpcg clock.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
2019-11-25 15:57:58 +08:00
Liu Ying 568ed66cac gpu: imx: dpu: framegen: Use bypass clock when display encoder type is TMDS
This patch sets display clock's parent to bypass clock when display
encoder type is TMDS, otherwise, to pll clock when other types of
encoder.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:57:57 +08:00
Liu Ying 583c9de66e gpu: imx: Add dpu common driver support
The dpu is found in i.MX8qm/qxp SoCs.
It has a display controller and a blit engine to support graphics.
This patch adds dpu common driver support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 15:57:52 +08:00
Liu Ying 2a3e3aa8d8 gpu: Move ipu-v3 to imx folder
The new imx folder may contain ipu-v3 and dpu common drivers.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Aisheng: fix source path ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 15:57:51 +08:00