25 Jan, 2021
1 commit
-
Add mode_valid() implementation for CRTC to filter out any
mode which cannot be supported by LCDIF. Only check the
CEA and DMT modes for pixel clock round rate is same with
the value from mode.Signed-off-by: Fancy Fang
18 Dec, 2020
5 commits
-
* mxc/next: (279 commits)
LF-2111-2: mxc: vpu_windsor: Avoid hide parameter
MLK-24960: [8QM_MEK/8QXP_MEK]mxc:vpu_malone: move timestamp manager to firmware
MLK-24959: [8QM_MEK/8QXP_MEK]mxc:vpu_windsor: move timestamp handler to firmware
MLK-24906: [8QM_MEK/8QXP_MEK]mxc:vpu_malone: report V4L2_COLORSPACE_DEFAULT before seq hdr found
MLK-24593:[8QM_MEK/8QXP_MEK]mxc:vpu_windsor: support change bitrate dynamically
... -
* origin/display/prefetch: (8 commits)
LF-2010 gpu: imx: imx8_dprc: Check return value of SCU func call in dprc_prg_sel_configure()
LF-2011 gpu: imx: imx8_dprc: Check return value of SCU func call in dprc_dpu_gpr_configure()
LF-1750 gpu: imx: imx8_dprc: Get scu ipc handle in ->probe()
MLK-23107-1 gpu: imx: imx8_dprc: Add helper dprc_disable_repeat_en()
MLK-21378-2 gpu: imx: Add imx8_dprc support
... -
* origin/display/pc:
gpu: imx: Add imx8 pixel combiner support
gpu: Move ipu-v3 to imx folder
drm/imx: Revert a patch which merges imx-drm-core and ipuv3-crtc in one module -
* origin/display/lcdif: (60 commits)
MLK-25012 drm/imx: lcdif: move 'lcdif_crtc' alloc to probe()
MLK-24998-7 drm/imx: lcdifv3: implement mode_valid() for CRTC
MLK-24900-1 drm/imx: lcdifv3: Use dts to config LCDIF panic threshold
LF-2602-5 gpu/imx: lcdifv3: change to use device_reset()
MLK-23218 gpu: imx: lcdifv3: Change burst size to 256B
... -
* origin/display/fbdev: (40 commits)
LF-2723-2 video: epdc: fix kernel dump issue
LF-2723-1 video: epdc_v2: fix kernel dump issue
LF-2658 video: fbdev: mxc: Forward ipuv3 LCD external port(mxc_lcdif) driver from imx_4.19.y kernel
LF-2225-3 fbdev: mxc_ipuv3_fb: drop the using of FBINFO_MISC_USEREVENT
LF-2225-2 fbdev: mxc_hdmi: drop the using of FBINFO_MISC_USEREVENT
...
14 Dec, 2020
34 commits
-
Add imx6 hdmi code driver.
This patch forwards imx6 HDMI code driver from imx_4.19.y kernel.Signed-off-by: Sandor Yu
-
This patch adds helper dprc_disable_repeat_en() so that callers
may disable DPRC repeat_en.Reviewed-by: Sandor Yu
Signed-off-by: Liu Ying -
Fast-forward imx8_dprc driver from imx_4.14.y.
Signed-off-by: Liu Ying
[ Liu Ying: scfw call updates and other small tweaks for upgrade] -
Fast-forward imx8_prg driver from imx_4.14.y.
Signed-off-by: Liu Ying
-
This patch adds i.MX8 pixel combiner driver support.
Signed-off-by: Liu Ying
-
Add mode_valid() implementation for CRTC to filter out any
mode which cannot be supported by LCDIFv3. Only check the
CEA and DMT modes for pixel clock round rate is same with
the value from mode.Signed-off-by: Fancy Fang
-
After the atomic plane update, the shadow load should be
enabled to make sure its update can take effect on next
frame in any cases. And this enable is better to be done
in CRTC's atomic_flush() which is called after plane's
atomic_update() is called.Besides, the shadow load enable in controller enable is
unnecessary, so remove it.Signed-off-by: Fancy Fang
Reviewed-by: Liu Ying -
The LCDIFv3 core driver is responsible to provide
controller registers configuration and create the
platform devices for the child port nodes. And the
platform devices later will attach to the related
DRM/KMS drivers via name match. And the LCDIFv3 is
completely different from the LCDIF controller
which is used on imx8mm and imx8mn platforms.Signed-off-by: Fancy Fang
-
According to LCDIF specification, the input pixel data
width and the output pixel data width can be different,
and this conversion is done by LCDIF automatically. So
config the output data width according to the requested
bus format from the encoder, instead to be same with the
input pixel data width.Signed-off-by: Fancy Fang
(cherry picked from commit bfd27f6d71d86a7f2fc8314f082565db3682b925) -
According to the LCDIF specification, the Legacy Mode does not
support cropping function in the horizontal direction, so add
Pigeon Mode which can support this kind of function. And when
enable this mode, the legacy horizontal timings configuration
should use stride value but not the active width, and related
pigeon configuration should use the active width but not the
stride value.Signed-off-by: Fancy Fang
(cherry picked from commit e6da9542693dd585972897f62748a101f5726a74) -
Add an function to get the LCDIF controller supported bus
formats according to the pixel format bpp. And change the
bus format sanity check in the plane's atomic check to see
if the bus format required by the peripheral attached to
LCDIF can be supported by LCDIF.Signed-off-by: Fancy Fang
-
The LCDIF core driver is responsible to provide controller
registers configuration and create the platform devices for
the child port nodes. And the platform devices later will
attach to the corresponding DRM/KMS drivers via name match.Signed-off-by: Fancy Fang
[ Aisheng: Kconfig & Makefile update for a clean base ]
Signed-off-by: Dong Aisheng -
Add the framebuffer driver support for the Northwest Logic
MIPI DSI controller.Signed-off-by: Fancy Fang
-
This patch adds user-configurable CRC region support.
The users may choose a region of interest(ROI) as the CRC source
(i.e., the CRC evaluation window) via the debugfs control node.
The ROI cannot exceed the display region as indicated by
drm_crtc_state->adjusted_mode. The users may write a string in
the fashion of "roi:x1,y1,x2,y2" to the node to specify the ROI
within the display region. The inclusive position at (x1, y1)
indicates the upper left of the region, while the exclusive
position at (x2, y2) indicates the lower right of the region.Signed-off-by: Liu Ying
Reviewed-by: Robby Cai -
This patch adds helper disengcfg_sig_select() support so that
users may select different taps(FrameGen, GammaCor, Matrix or
Dither) to do signature computation. Also, select FrameGen as
the default tap in _dpu_dec_init() and call it in dpu_dec_init().Signed-off-by: Liu Ying
Reviewed-by: Robby Cai -
This patch adds signature unit support in the dpu common driver.
Signed-off-by: Liu Ying
Reviewed-by: Robby Cai -
No one is using pin-off operations, so let's remove them.
Reviewed-by: Sandor Yu
Signed-off-by: Liu Ying -
As DPU fetchunits support ITU601(limited range)/ITU601_FR(full range)
and ITU709(limited range) YUV to RGB color space conversions, we may
add color encoding and color range properties support for planes.
Considering software backward compatibility, the default color encoding
is set to ITU601 with full color range.Signed-off-by: Liu Ying
-
This patch adds mulitple pixel blend modes for DPU plane.
The modes are "None", "Pre-multiplied" and "Coverage".Signed-off-by: Liu Ying
-
Without the new blend modes("None", "Pre-multiplied" and "Coverage")
introduced in the below commit, the old userspace assumes alpha in
pixel is per-premultiplied by default. So, let's support the default
blend mode properly.commit a5ec8332d428 ("drm: Add per-plane pixel blend mode property")
Signed-off-by: Liu Ying
-
This patch adds extdst_pixengcfg_syncmode_master() helper support
so that the callers may control if a extdst is master or slave
when it works in sync mode. The bit16 of extdst's PIXENGCFG_STATIC
register controls this and it's a part of sync mode fixup logic.Signed-off-by: Liu Ying
-
Bit7 of framegen's SECSTATCONFIG register is used to control
the sync mode fixup logic implemented in framegen. This patch
adds framegen_syncmode_fixup() helper so that the callers
may enable/disable the fixup logic for a framegen.Signed-off-by: Liu Ying
-
Store9 unit can be shared bewteen display engine(for sync mode fixup)
and blit engine. It's proper to get the store resource in the DPU
common driver and then provide it to client platform device via
platform data.Signed-off-by: Liu Ying
-
Bit16 of store9's PIXENGCFG_STATIC register is used to control
the sync mode fixup logic implemented in store9. So, let's
add store9 support in the DPU core driver and export a function
for users to enable/disable the fixup logic.Signed-off-by: Liu Ying
-
This patch adds pixel combiner support in the DPU core driver.
Users may get and enable/disable/control a pixel combiner instant
via tcon functions and may tell if it is needed in a specific usecase
via the dpu_get_syncmode_min_prate() and dpu_get_singlemode_max_width()
helpers.Signed-off-by: Liu Ying
-
This patch adds side-by-side support for tcon so that
two tcons can participate in the dual display streams
to work with pixel combiner to drive a high pixel rate
display.Signed-off-by: Liu Ying
-
This patch adds side-by-side support for framegen so that
two framegens can work in sync mode to participate in the
dual display streams to drive a high pixel rate display
via a pixel combiner.Signed-off-by: Liu Ying
-
This patch adds tcon_is_master/slave() helpers support so that
callers may know if a tcon is a master or slave tcon.Signed-off-by: Liu Ying
-
This patch adds extdst_is_master() helper support so that
callers may know if a extdst is a master extdst or not.Signed-off-by: Liu Ying
-
This patch adds framegen_is_master/slave() helpers support so that
callers may know if a framegen is a master or slave framegen.Signed-off-by: Liu Ying
-
This patch adds helper dpu_get_master_stream_id() support
so that callers may know the master stream when FrameGen
works in sync mode.Signed-off-by: Liu Ying
-
This patch adds a new di_grp_id entry in display client pdev's data
so that the relevant display platform driver may know the display
group ID of the display device.Signed-off-by: Liu Ying
-
This patch adds dpu_aux_{unit}_peek() helpers so that callers
may peek at auxiliary display submodules.Signed-off-by: Liu Ying
-
The CRTC background should be full screen instead of partial
screen, because the DRM core is likely to add configurable
background color support in the future. We may cover the full
screen with ConstFrame0/1, upon which builds planes. With this,
it is easier to compute each plane's layer offset vs CRTC start
point and all ConstFrame units can be controlled by CRTC.Signed-off-by: Liu Ying