| 21906a8e | 11-Dec-2024 |
Zhibin Huang <zhibin.huang@rock-chips.com> |
video/drm: phy: dcphy: optimize pll and ssc calculation
Type: Fix Redmine ID: N/A Associated modifications: If77c1e6526041fdeae07bdc174cddf01bbee4f49 Test: N/A
Signed-off-by: Zhibin Huang <zhibin.h
video/drm: phy: dcphy: optimize pll and ssc calculation
Type: Fix Redmine ID: N/A Associated modifications: If77c1e6526041fdeae07bdc174cddf01bbee4f49 Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com> Change-Id: I884fb820ea9b7aef72a03fda7093f579b0f9c015
show more ...
|
| 1b964072 | 19-Dec-2024 |
Guochun Huang <hero.huang@rock-chips.com> |
video/drm: dsi: fix configuration exceptions for out-of-bounds variables
Type: Fix Redmine ID: 522847 Associated modifications: gerrit links Test: test method
Change-Id: Ib68107cd32572e85a78bd576ed
video/drm: dsi: fix configuration exceptions for out-of-bounds variables
Type: Fix Redmine ID: 522847 Associated modifications: gerrit links Test: test method
Change-Id: Ib68107cd32572e85a78bd576ed10107c1d449be6 Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
show more ...
|
| 59eff7fb | 30-Dec-2024 |
Sandy Huang <hjc@rock-chips.com> |
video/drm: dw_dp: Delete log of private name
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I2e29e0fb773161899a097c8ccc5137568f8a3baa |
| 18d9b8ad | 30-Dec-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop2: add gamma support for RK3528/RK3562/RK3576
The configuration process for the gamma function of RK3528/RK3562/RK3576 is the same as that of RK3588.
Change-Id: If8560b542d886cfb0fcfc
video/drm: vop2: add gamma support for RK3528/RK3562/RK3576
The configuration process for the gamma function of RK3528/RK3562/RK3576 is the same as that of RK3588.
Change-Id: If8560b542d886cfb0fcfc689479ba6a2820305d1 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| f6e9a2a3 | 26-Dec-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop2: remove write_mask of reg esmart_lb_mode_sel for RK3528/RK3562
Change-Id: I97beea9a096252a4a777fbef13a1cd7bd0e8cee6 Signed-off-by: Damon Ding <damon.ding@rock-chips.com> |
| 12ee4de7 | 26-Dec-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop2: add dsp_vs_t_sel reg support for RK3576
Change-Id: Ib3e3514d03f2e754118933a1448ead0e1155ef79 Signed-off-by: Damon Ding <damon.ding@rock-chips.com> |
| 1cd2563d | 25-Dec-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: remove unsupported reg overlay_mode for rk3506
Change-Id: I282d8c9978ebf1f04643ddfc36b9bc6061efb823 Signed-off-by: Damon Ding <damon.ding@rock-chips.com> |
| aab543ae | 24-Dec-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop: remove unsuppoted regs for rv1106
The regs overlay_mode/dclk_ddr/rgb_dclk_pol are unsupported, so it is better to remove them.
Change-Id: Ie92d1641ccb7d3f751e94793c51d4d6d2953d31f S
video/drm: vop: remove unsuppoted regs for rv1106
The regs overlay_mode/dclk_ddr/rgb_dclk_pol are unsupported, so it is better to remove them.
Change-Id: Ie92d1641ccb7d3f751e94793c51d4d6d2953d31f Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| ea286ea2 | 18-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: analogix_dp: Fix incorrect usage of enhanced mode
Enhanced mode is required by the eDP 1.2 specification, and not doing it early could result in a period of time where we have a link tran
video/drm: analogix_dp: Fix incorrect usage of enhanced mode
Enhanced mode is required by the eDP 1.2 specification, and not doing it early could result in a period of time where we have a link transmitting idle packets without it. Since there is no reason to disable it, we just enable it at the beginning of link training and then keep it on all the time.
Related kernel commit: 1932250df1f0 ("drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode")
Fixes: 186f85721af ("drm/rockhcip: add drm rockchip display support") Change-Id: I32be24ae8561b79dce549e1fd55af9bd0341de2e Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| 06b1b28f | 18-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: analogix_dp: Compliant with eDP receiver enhanced frame capability
As the Table 3-4 in eDP v1.2 spec: DPCD 0000Dh: Bit 1 = FRAMING_CHANGE_CAPABLE A setting of 1 indicates that this is an
video/drm: analogix_dp: Compliant with eDP receiver enhanced frame capability
As the Table 3-4 in eDP v1.2 spec: DPCD 0000Dh: Bit 1 = FRAMING_CHANGE_CAPABLE A setting of 1 indicates that this is an eDP device that uses only Enhanced Framing, independently of the setting by the source of ENHANCED_FRAME_EN
And as the Table 3-3 in eDP v1.4 spec: DPCD 0000Dh: Bit 1 = RESERVED for eDP New to eDP v1.4.(Read all 0s)
Related kernel commit: 5d2f3f959e5d ("drm/bridge: analogix_dp: Compliant with eDP receiver enhanced frame capability")
Change-Id: I3c2d4067c3a0378f2ad2b4bf393c369bf8fe4b81 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| 2fcb4783 | 18-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: analogix_dp: read/write DPCD through drm_dp_aux
Sync the functions of DPCD read/write with Kernel:
analogix_dp_write_byte_to_dpcd() -> drm_dp_dpcd_writeb() analogix_dp_read_byte_from_dpc
video/drm: analogix_dp: read/write DPCD through drm_dp_aux
Sync the functions of DPCD read/write with Kernel:
analogix_dp_write_byte_to_dpcd() -> drm_dp_dpcd_writeb() analogix_dp_read_byte_from_dpcd() -> drm_dp_dpcd_readb() analogix_dp_write_bytes_to_dpcd() -> drm_dp_dpcd_write() analogix_dp_read_bytes_from_dpcd() -> drm_dp_dpcd_read()
In addition, the older functions may not have the return value check. So the necessary return value check have been added in the patch, which is also synchronized with Kernel.
With the patch, the analogix_dp driver will be more maintainable and readable.
Change-Id: Ic2b7d6d9ab32ecec0c5bb6de09082c536cae1a41 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| 58df3976 | 18-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: analogix_dp: register drm_dp_aux and support the transfer function of aux
Change-Id: Iccb0a170d73fe6e7960ca759015b38bd5c9d70da Signed-off-by: Damon Ding <damon.ding@rock-chips.com> |
| e6e4c154 | 19-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop2: fix the check of DSP_RG_SWAP
The output_type in DSP_RG_SWAP check should be HDMI and DP other than HDMI and eDP.
Change-Id: Iffe44aae6a2c2863c1441beec8b166343d4af039 Signed-off-by:
video/drm: vop2: fix the check of DSP_RG_SWAP
The output_type in DSP_RG_SWAP check should be HDMI and DP other than HDMI and eDP.
Change-Id: Iffe44aae6a2c2863c1441beec8b166343d4af039 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| c8820b76 | 19-Nov-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: vop2: disable rb swap if using eDP in YUV444 output mode
Related kernel commit: 29e7837d1d60 ("drm/rockchip: vop2: disable rb swap if using eDP in YUV444 output mode")
Change-Id: Ibb2212
video/drm: vop2: disable rb swap if using eDP in YUV444 output mode
Related kernel commit: 29e7837d1d60 ("drm/rockchip: vop2: disable rb swap if using eDP in YUV444 output mode")
Change-Id: Ibb2212af934f9d0bb9caad005c5a9b196c9111b2 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| e57e55f8 | 19-Nov-2024 |
Hongming Zou <hongming.zou@rock-chips.com> |
video/drm: inno_mipi_phy: adjust param for rk3506
fixed_param of rk3506 is the same as rk1808
Change-Id: I0666ca58f820817da8c19d2d99345fcfebc73f55 Signed-off-by: Hongming Zou <hongming.zou@rock-ch
video/drm: inno_mipi_phy: adjust param for rk3506
fixed_param of rk3506 is the same as rk1808
Change-Id: I0666ca58f820817da8c19d2d99345fcfebc73f55 Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com>
show more ...
|
| d1fd9c74 | 16-Nov-2024 |
Luo Wei <lw@rock-chips.com> |
video/drm: display-serdes: improve detection function for split mode
Signed-off-by: Luo Wei <lw@rock-chips.com> Change-Id: I8cac840bb7c7bad4c2831470b7c3bfcddb450241 |
| 7504507f | 12-Nov-2024 |
Sandy Huang <hjc@rock-chips.com> |
video/drm: vop2: use vop2_mask_write to enable post scale en
vop2_write() will reset other register except post scale en bits, so we use vop2_mask_write() to instead of vop2_write().
Signed-off-by:
video/drm: vop2: use vop2_mask_write to enable post scale en
vop2_write() will reset other register except post scale en bits, so we use vop2_mask_write() to instead of vop2_write().
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I6c1cabb5548c5a4b575829ef2e62aa7ddf2b94aa
show more ...
|
| c5ff44bc | 06-Nov-2024 |
Luo Wei <lw@rock-chips.com> |
video/drm: display-serdes: update delay definition from kernel
Signed-off-by: Luo Wei <lw@rock-chips.com> Change-Id: I300a51fbc082a9f89169125c26d52af26522ed0d |
| e1946cbd | 31-Oct-2024 |
Algea Cao <algea.cao@rock-chips.com> |
video/drm: vop2: Fix screen was skewed to the left
Fixes: c54cc5d2df71 ("video/drm: vop2: Disable acm bypass when vop init")
Change-Id: Iab343ce53e7fe3992cf7cabfc2e6176c565e9d31 Signed-off-by: Alge
video/drm: vop2: Fix screen was skewed to the left
Fixes: c54cc5d2df71 ("video/drm: vop2: Disable acm bypass when vop init")
Change-Id: Iab343ce53e7fe3992cf7cabfc2e6176c565e9d31 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
show more ...
|
| c54cc5d2 | 29-Oct-2024 |
Algea Cao <algea.cao@rock-chips.com> |
video/drm: vop2: Disable acm bypass when vop init
Black screen is displayed when acm bypass is switched. To avoid black screen, acm bypass is disabled by default after system booted.
Change-Id: I03
video/drm: vop2: Disable acm bypass when vop init
Black screen is displayed when acm bypass is switched. To avoid black screen, acm bypass is disabled by default after system booted.
Change-Id: I03b22cdc6f0ff6a9493d03c853548b344f046cf0 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
show more ...
|
| ecc3b257 | 28-Aug-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: display: add logo bmp size check
Given considerations such as memory usage and the default configuration of the parameter partition table, it is not recommended to use excessively large B
video/drm: display: add logo bmp size check
Given considerations such as memory usage and the default configuration of the parameter partition table, it is not recommended to use excessively large BMP logo images. Therefore, the MAX_IMAGE_BYTES limit is set to 8 MB. For images exceeding this size, it is recommended to use BMP images in BI_RLE4/BI_RLE8 formats.
The log may be like:
...... bmp[logo.bmp] data size[23MB] is over the limitation MAX_IMAGE_BYTES[8MB] failed to display uboot logo CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A) bpll 816000 KHz lpll 816000 KHz ......
Change-Id: If9b804b29f4a477b5b29050231944a39c0342a84 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| 3dbe25b4 | 07-Aug-2024 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: display: remove the resolution check for partially decoded images
The limitation is from decode_bmp.c in libnsbmp-0.1.7. Some RLE8 bmp images will be regarded as error becasuse of the che
video/drm: display: remove the resolution check for partially decoded images
The limitation is from decode_bmp.c in libnsbmp-0.1.7. Some RLE8 bmp images will be regarded as error becasuse of the check, without which these images can be showed successfully, so we remove the unexpected limitation.
The libnsbmp-0.1.7 can be got from: https://git.netsurf-browser.org/libnsbmp.git
Change-Id: I4a418b3484db1904d8c47b6e8ee7410c2964145f Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| 8b59e34d | 20-Aug-2024 |
Zhang Yubing <yubing.zhang@rock-chips.com> |
video/drm: vop2: fix some csc parameters error
1. Fix the csc matrix. For YUV709L to YUV709L, YUV601L to YUV601L, YUV2020L to YUV2020L, The csc matrix should be identity matrix. For YUV601L to YUV70
video/drm: vop2: fix some csc parameters error
1. Fix the csc matrix. For YUV709L to YUV709L, YUV601L to YUV601L, YUV2020L to YUV2020L, The csc matrix should be identity matrix. For YUV601L to YUV709L, modeify the csc matrix. 2. optimize the final calculation result. Use the new r2y and y2r matrix for csc yuv2yuv and rgb2rgb case. A simple round is used for csc yuv2yuv and rgb2rgb case for a more precise result.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com> Change-Id: I59c38257cc3ca07e75c057eac710c9fa1e966ba9
show more ...
|
| 117c0524 | 16-Jul-2024 |
Guochun Huang <hero.huang@rock-chips.com> |
video/drm: display: add rk628 support
Change-Id: Id4e23a7692c8291184bfae162f889dc0cf0b0def Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> |
| ab3bc873 | 28-Jun-2024 |
Guochun Huang <hero.huang@rock-chips.com> |
video/drm: add rk628 misc drivers
Change-Id: I6066e317fcdca9167a67f0252706a20c0c984e19 Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> |