History log of /rk3399_rockchip-uboot/drivers/video/drm/rockchip_crtc.h (Results 1 – 25 of 37)
Revision Date Author Comments
# 60e6e79d 04-Jun-2025 Sandy Huang <hjc@rock-chips.com>

drm/rockchip: vop2: add vop reset when vp is active state

For one VOP dual os environment, the secondary OS maybe reboot without display
disable or SOC global reset, the hardware may be active state

drm/rockchip: vop2: add vop reset when vp is active state

For one VOP dual os environment, the secondary OS maybe reboot without display
disable or SOC global reset, the hardware may be active state, so add this
reset to avoid unexpected issues, one VOP dual os dts config example:

linux dts:
&vop {
iommus = <&vop_mmu1>;
rockchip,share-mode-axi-id = <1>;
rockchip,share-mode-val = <(ROCKCHIP_VOP2_SHARE_MODE_PRIMARY)>;
rockchip,share-mode-vp-mask = <(1 << ROCKCHIP_VOP_VP2)>;
rockchip,share-mode-plane-mask = <(1 << ROCKCHIP_VOP2_ESMART2 | 1 << ROCKCHIP_VOP2_ESMART3)>;
};

android dts:
&vop {
iommus = <&vop_mmu>;
rockchip,share-mode-axi-id = <0>;
rockchip,share-mode-val = <(ROCKCHIP_VOP2_SHARE_MODE_SECONDARY)>;
rockchip,share-mode-vp-mask = <(1 << ROCKCHIP_VOP_VP0 | 1 << ROCKCHIP_VOP_VP1)>;
rockchip,share-mode-plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_CLUSTER1 |
1 << ROCKCHIP_VOP2_ESMART0 | 1 <<ROCKCHIP_VOP2_ESMART1)>;
};

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I276972204c53538932cd653ec131be7f067c7f82

show more ...


# 45ec9215 13-Feb-2025 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop2: Ensure rk3576 sharp/post-scaler/split are mutually exclusive

VOP sharp/post-scaler/split use the same line buffer.
They must be mutually exclusive, otherwise the picture
will displa

video/drm: vop2: Ensure rk3576 sharp/post-scaler/split are mutually exclusive

VOP sharp/post-scaler/split use the same line buffer.
They must be mutually exclusive, otherwise the picture
will display abnormally.

Change-Id: Ib71992b52496f44e28e93ce2c992fa1cfccd2b64
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>

show more ...


# 10a896e2 15-Nov-2024 Chaoyi Chen <chaoyi.chen@rock-chips.com>

video/drm: vop: Add support for RV1126B vop

RV1126B VOP supports BT1120/BT656/MCU/RGB display interfaces with
maximum output resolution of 1920x1080@60fps.

Change-Id: Ida94342c5f65d17d7772d5828a854

video/drm: vop: Add support for RV1126B vop

RV1126B VOP supports BT1120/BT656/MCU/RGB display interfaces with
maximum output resolution of 1920x1080@60fps.

Change-Id: Ida94342c5f65d17d7772d5828a85473558380dc2
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>

show more ...


# b4fa21de 05-Mar-2025 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop2: modify the check related to the cursor plane

In order to sync the cursor plane assignment with Kernel, the
modifications are as follows:
1.Change the type of &rockchip_vp.cursor_pla

video/drm: vop2: modify the check related to the cursor plane

In order to sync the cursor plane assignment with Kernel, the
modifications are as follows:
1.Change the type of &rockchip_vp.cursor_plane_id and
&vop2_vp_plane_mask.cursor_plane_id from int to u8.
2.Remove the unnecessary &vop2_data.plane_table.
3.Assign cursor plane according to the &vop2.possible_vp_mask and
&vop2_win_data.plane_type in the scenario where the cursor plane
specified in DTS is invalid.
4.Add cursor plane check in vop2_plane_mask_check().

Fixes: ee008497bf7 ("drm/rockchip: vop2: add adjust cursor plane")
Change-Id: I50e9a55d42f24131c50b351b2deb02bae1b003b2
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>

show more ...


# efa01fe4 17-Dec-2024 Zhang Yubing <yubing.zhang@rock-chips.com>

video/drm: display: set vop dp_out_en bit laterly

The vop dp_out_en bit should be set after the dp link rate ready,
which can avoid the dp controller fifo overflow issue.

Signed-off-by: Zhang Yubin

video/drm: display: set vop dp_out_en bit laterly

The vop dp_out_en bit should be set after the dp link rate ready,
which can avoid the dp controller fifo overflow issue.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I1529af31c22defb728e65c157ad7c88c77968cc4

show more ...


# 400ef44d 21-Jun-2024 Chaoyi Chen <chaoyi.chen@rock-chips.com>

video/drm: vop: Add support for rk3506 vop

RK3506 VOP supports BT1120/BT656/MCU/RGB display interfaces with
maximum output resolution of 1280x1280@60fps.

Change-Id: I44e631db49d396507381bde50e2c1e1

video/drm: vop: Add support for rk3506 vop

RK3506 VOP supports BT1120/BT656/MCU/RGB display interfaces with
maximum output resolution of 1280x1280@60fps.

Change-Id: I44e631db49d396507381bde50e2c1e17c3e816f7
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>

show more ...


# a552a69c 21-Jan-2024 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop2: add support for rk3576

RK3576 VOP have 2 Cluster win and 4 Esmart win, this win be used
by 3 video ports as following roles:
* VP0 can use Cluster0/1 and Esmart0/2
* VP1 can use C

video/drm: vop2: add support for rk3576

RK3576 VOP have 2 Cluster win and 4 Esmart win, this win be used
by 3 video ports as following roles:
* VP0 can use Cluster0/1 and Esmart0/2
* VP1 can use Cluster0/1 and Esmart1/3
* VP2 can use Esmart0/1/2/3

In additions, RK3576 VOP can support DCI/ACM/CSC/HDR/SHARP/GAMMA/3D LUT/POST SCALE/BCSH
etc. post process.

Change-Id: Iec5d8849032438a8da3db914f35aefb9119746d5
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>

show more ...


# 72f233a9 26-Jan-2024 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop: add support for rk3576 vopl

RK3576 VOP_LITE has only one win2 which supports ARGB888/
RGB565/RGB888 formats.

In addition, VOP_LITE whose max output resolution is
1920x1080 supports

video/drm: vop: add support for rk3576 vopl

RK3576 VOP_LITE has only one win2 which supports ARGB888/
RGB565/RGB888 formats.

In addition, VOP_LITE whose max output resolution is
1920x1080 supports BT1120/BT656/MCU/RGB interfaces,
and can also support eDP/HDMI/MIPI by the 1to4 module.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I81deec2decae0ac5feb2293d833eb5e29ef1f20a

show more ...


# b02eb70b 09-May-2023 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop2: add mode_fixup func to check crtcinfo

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Icc3ae80f36e300561312b0c5bde2bceac75756ad


# 8e7ef808 19-Jul-2022 Damon Ding <damon.ding@rock-chips.com>

drm/rockchip: vop2: add support for soft_te

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I31cf94f4f9fc900f80e8752f03d305036a0153a8


# 72388c26 03-Apr-2023 Damon Ding <damon.ding@rock-chips.com>

video/drm: rockchip: add support to dump vop regs

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I82aa5107de49570ca772a32e38328fbf6bc2a0b9


# 452afb13 06-Feb-2023 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop3: add support for rk3562

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Iba8bd143a8ba39997bd3a02dedcd77f60f485d0c


# 5fa6e665 25-Oct-2022 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop3: add support for rk3528

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I7e238351be6d44c5a6cfdecf8201dc4c04862d04


# c2b1fe35 05-Aug-2022 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop2: support to enable xmirror in dts

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I41bb2700a51a8715f8581507f4c64fe066c87ff7


# 54f7137b 18-Jul-2022 Damon Ding <damon.ding@rock-chips.com>

video/drm: vop: add support for rv1106

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I5bfdaaa7c37c4c528deac9e67fb217f565a9fe76


# 4c765862 05-Aug-2022 Damon Ding <damon.ding@rock-chips.com>

drm/rockchip: display: add crtc plane check of scale factor

Check scale factor in vop/vop2 plane_check function.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Iaffbacb251a58825d7

drm/rockchip: display: add crtc plane check of scale factor

Check scale factor in vop/vop2 plane_check function.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Iaffbacb251a58825d7247da7f14d118c10b73bf8

show more ...


# 22007755 26-Jul-2022 Damon Ding <damon.ding@rock-chips.com>

drm/rockchip: display: add display mode valid check

1.Filter out invalid display modes in vop/vop2
mode_valid function.
2.Reserve function of connector mode_valid check.

Signed-off-by: Damon Ding

drm/rockchip: display: add display mode valid check

1.Filter out invalid display modes in vop/vop2
mode_valid function.
2.Reserve function of connector mode_valid check.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Idc98b14d93c5abc2953b3d834e4842a727b91328

show more ...


# 820a5c17 25-Jul-2022 Damon Ding <damon.ding@rock-chips.com>

drm/rockchip: display: add display check

1. Add vop2 check function. Splice vp should not
be initialized in 8k mode.
2. Reserve function of connector check.

Signed-off-by: Damon Ding <damon.ding@ro

drm/rockchip: display: add display check

1. Add vop2 check function. Splice vp should not
be initialized in 8k mode.
2. Reserve function of connector check.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ib5ccf2201f72536ceb144bab6715b1d43d6e52fd

show more ...


# 5fc2b656 07-May-2022 Damon Ding <damon.ding@rock-chips.com>

drm/rockchip: vop2: support getting primary_plane_id from dts directly

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I636272c0ee3311785ed6b0d71fe3dab685aba07c


# ecc31b6e 16-Oct-2021 Andy Yan <andy.yan@rock-chips.com>

drm/rockchip: vop2: Add support for rk3588

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ia0d0430124123fb0710bbba6adacbdfb55d7a149


# ee008497 15-Jul-2021 Sandy Huang <hjc@rock-chips.com>

drm/rockchip: vop2: add adjust cursor plane

when dts add cursor-win-id property and the id isn't matching with
plane_mask, we adjust to the correct cursor plane.

Signed-off-by: Sandy Huang <hjc@roc

drm/rockchip: vop2: add adjust cursor plane

when dts add cursor-win-id property and the id isn't matching with
plane_mask, we adjust to the correct cursor plane.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ia03c05368847d0bd80843c374a4409e9b1962969

show more ...


# 6eff7620 12-Apr-2021 Sandy Huang <hjc@rock-chips.com>

video/drm: display: to get plane mask and vp status for vop2

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ife45a694435ab26b9ad395d420adb7774a5ba530


# 58c17f51 12-Apr-2021 Sandy Huang <hjc@rock-chips.com>

video/drm: display: add pre_init for connecter

we need to know connecter type before set out plane policy for vop2

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I90f89894089ba35fd7755e

video/drm: display: add pre_init for connecter

we need to know connecter type before set out plane policy for vop2

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I90f89894089ba35fd7755ee4d7584c217d71b052

show more ...


# 63cb669f 02-Mar-2021 Sandy Huang <hjc@rock-chips.com>

video/drm: vop2: add support two display

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I934097d59556130519624a0c2848996751578bf2


# d0408543 07-Nov-2020 Andy Yan <andy.yan@rock-chips.com>

drm/rockchip: Add support for vop2

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I52af209b3a9b85692d0589e1653160d284f4ba9c


12