| #
b899f9cc |
| 15-Apr-2025 |
Chaoyi Chen <chaoyi.chen@rock-chips.com> |
video/drm: vop: Add support for force mcu rdn
The RV1126B introduce force RDN feature in MCU interface, which allow to output high voltage level on the MCU_RDN line when MCU is sending data, especia
video/drm: vop: Add support for force mcu rdn
The RV1126B introduce force RDN feature in MCU interface, which allow to output high voltage level on the MCU_RDN line when MCU is sending data, especially for data in the write direction. This feature helps avoid unintended level flips on the RDN line.
Change-Id: If697b937cdf2bcfb471f60bbd10759c95d8bb285 Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
show more ...
|
| #
de3f896f |
| 15-Apr-2025 |
Chaoyi Chen <chaoyi.chen@rock-chips.com> |
video/drm: vop: Make vop verison more readable
Change-Id: I89f3ddd102dfd02f454badc869dd88291769206a Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
|
| #
0c4bb35c |
| 03-Jul-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: support bt1120/bt656 for rk3506
Change-Id: I8f1409da3f4683701eafc409431b13088c615f71 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
|
| #
1c47b959 |
| 03-Jul-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add mcu display support for rk3506
The process of sending commands through mcu display interface in rk3506 is the same as rk3576 vop lite.
Change-Id: Icda7a59fd4c5165ad38b09fea6369c
video/drm: vop: add mcu display support for rk3506
The process of sending commands through mcu display interface in rk3506 is the same as rk3576 vop lite.
Change-Id: Icda7a59fd4c5165ad38b09fea6369c5be147ee6f Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| #
224ad886 |
| 05-Jul-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add log to indicate more informations in rockchip_vop_set_plane()
The log may be like: VOP:0xff600000 set plane [654x270->654x270@313x225] fmt[0] addr[0x5e00000]
Change-Id: Id5cbd19
video/drm: vop: add log to indicate more informations in rockchip_vop_set_plane()
The log may be like: VOP:0xff600000 set plane [654x270->654x270@313x225] fmt[0] addr[0x5e00000]
Change-Id: Id5cbd1927c0eae3e26422df5b90456d945937072 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| #
e32f1bea |
| 05-Jul-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: get frame rate by drm_mode_vrefresh()
In some cases, the vrefresh may not be calculated in bridge/connector drivers. It is better to use function drm_mode_vrefresh() to get frame rat
video/drm: vop: get frame rate by drm_mode_vrefresh()
In some cases, the vrefresh may not be calculated in bridge/connector drivers. It is better to use function drm_mode_vrefresh() to get frame rate in important log of rockchip_vop_init().
Change-Id: I149104601f70f5d89c19e37d6a071abe4040f59b Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| #
0a0e1dcd |
| 19-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: setup the output_mode before sending cmds for rk3576 vopl mcu interface
For rk3576 vop lite, the mapping of lcdc pins is different from previous vop1 platforms. It is needed to set o
video/drm: vop: setup the output_mode before sending cmds for rk3576 vopl mcu interface
For rk3576 vop lite, the mapping of lcdc pins is different from previous vop1 platforms. It is needed to set output_mode in order to ensure mcu commands are sent correctly.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I3ac5806db89b6fe5835564404e3df2f916d60774
show more ...
|
| #
ddef0aac |
| 19-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add log to show actual dclk rate assigned from pll
The log may be like:
VOP:0x27900000 set crtc_clock to 51200KHz, get 50000000Hz
Signed-off-by: Damon Ding <damon.ding@rock-chips.c
video/drm: vop: add log to show actual dclk rate assigned from pll
The log may be like:
VOP:0x27900000 set crtc_clock to 51200KHz, get 50000000Hz
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I2bfeca09fd856e026f71ac88429a4f2da060fa10
show more ...
|
| #
4fd29a21 |
| 20-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: fix background color to 0x0 for rk3576 vopl
For rk3576, the vopl does not suppurt overlay, and the background color is fixed to RGB888 format.
Signed-off-by: Damon Ding <damon.ding@
video/drm: vop: fix background color to 0x0 for rk3576 vopl
For rk3576, the vopl does not suppurt overlay, and the background color is fixed to RGB888 format.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I836d09a246e6490e5b96a250e27f5542124225fc
show more ...
|
| #
efd10ad6 |
| 20-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: enable rb_swap and rg_swap in YUV444 bus_format for rk3576 vopl
The RGB888 bus_format can be converted to VYU444 if r2y enabled, so it is needed to enable rb_swap and rg_swap for YUV
video/drm: vop: enable rb_swap and rg_swap in YUV444 bus_format for rk3576 vopl
The RGB888 bus_format can be converted to VYU444 if r2y enabled, so it is needed to enable rb_swap and rg_swap for YUV444.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I9dd2905576e2a4f6c2b28fdc9bd0a1b3e30a423d
show more ...
|
| #
49d669f5 |
| 20-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: fix the configurations of 1to4 function for rk3576
1.Fix the shift of reg grf_mipi_1to4_en to 0. 2.Set grf_mipi_mode to 0(video mode) if using display path vopl->1to4->mipi. 3.Add
video/drm: vop: fix the configurations of 1to4 function for rk3576
1.Fix the shift of reg grf_mipi_1to4_en to 0. 2.Set grf_mipi_mode to 0(video mode) if using display path vopl->1to4->mipi. 3.Add configuration of reg out_dresetn, which should be set to 1 if using display path vopl->1to4->edp/hdmi/mipi. 4.Set reg grf_hdmi_1to4_en to 1 if using display path vopl->1to4->hdmi.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Ia9e3e57755e464f74457b0717e67081311ef98ed
show more ...
|
| #
e9058b80 |
| 11-Mar-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: validate map before regmap_get_range()
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I560bee4cfb3f7344632cb3f449adcea6ecd57ddc
|
| #
df0a5c43 |
| 06-Feb-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: display: use color_encoding and color_range instead of private COLOR_SPACE
The old method to description color space and range is borrowing V4L2 defined, It's difficult to understand, so
video/drm: display: use color_encoding and color_range instead of private COLOR_SPACE
The old method to description color space and range is borrowing V4L2 defined, It's difficult to understand, so we change to DRM defined property.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I7eacc60dfda912b9becae1ce026cdb82eebef7f8
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 ...
|
| #
fc8b0d66 |
| 29-Jan-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: update VOP_GRF_SET() func to support different grf domains
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I6039388e568b35a69a4c507279f7c28661e33c28
|
| #
2264c88b |
| 04-Sep-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add debug logs about drm_display_mode
The added logs may be like: ...... VOP:0xff990000 update mode to: 320x480p45, type: RGB VOP:0xff990000 set crtc_clock to 141120KHz ......
Signe
video/drm: vop: add debug logs about drm_display_mode
The added logs may be like: ...... VOP:0xff990000 update mode to: 320x480p45, type: RGB VOP:0xff990000 set crtc_clock to 141120KHz ......
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Ic4ca57a21d49d0f6167fb2fb7ae8d0ccf996c3d6
show more ...
|
| #
4d64cedb |
| 04-Aug-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: display: fix the dclk calculation of mcu interface
dclk = htotal * vtotal * frame-rate * cycles-per-pixel * (pix-total + 1)
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-I
video/drm: display: fix the dclk calculation of mcu interface
dclk = htotal * vtotal * frame-rate * cycles-per-pixel * (pix-total + 1)
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Ia33d950b8df1129608dbf680dcf69d1baf2d169f
show more ...
|
| #
b7b383eb |
| 03-Aug-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: display: sync bus_format definitions with kernel
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Ica98f112605e7dfbcf56c538a32f795e35386cb9
|
| #
1b5811e7 |
| 30-May-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add mode_fixup func to check crtcinfo
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I793a4c3e1cf07879200aca166697edd8210c2cd7
|
| #
13f658dc |
| 15-Apr-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: dss: check dclk_inv from bus_flags
Use bus_flags to check dclk_inv, which synchronized with kernel.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I155188fc7e3654b82e5b
video/drm: dss: check dclk_inv from bus_flags
Use bus_flags to check dclk_inv, which synchronized with kernel.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I155188fc7e3654b82e5b0c9aba1627ada5a5ed0e
show more ...
|
| #
80fbe788 |
| 29-Mar-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add rb_swap check for serial rgb format
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I2f87750a942e7057968cbaa9b71b0567111c9477
|
| #
32328971 |
| 29-Mar-2023 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: add support for bg/rb/rg/delta/dummy swap ctrl
One is bg/rb/rg/delta/dummy, such as RK3288, RK3328 and RK3399. The other is bg/delta/rb/rg/dummy, such as RK3308, RV1126 and RV1106.
video/drm: vop: add support for bg/rb/rg/delta/dummy swap ctrl
One is bg/rb/rg/delta/dummy, such as RK3288, RK3328 and RK3399. The other is bg/delta/rb/rg/dummy, such as RK3308, RV1126 and RV1106.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: If5bb3f32961a7da288ddb23fcd8d79ff51c43af3
show more ...
|
| #
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 ...
|