|
发表于 2023-8-31 17:39:42
只看该作者
8#
我使用预设edid的方式,并且修改了rockchip_vop2.c文件
--- a/kernel-5.10/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
+++ b/kernel-5.10/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
@@ -1221,7 +1221,7 @@ static const struct vop2_video_port_data rk3588_vop_video_ports[] = {
.gamma_lut_len = 1024,
.cubic_lut_len = 729, /* 9x9x9 */
.dclk_max = 600000000,
- .max_output = { 9000, 2320 },
+ .max_output = { 7680, 4320 },
/* hdr2sdr sdr2hdr hdr2hdr sdr2sdr */
.pre_scan_max_dly = { 76, 65, 65, 54 },
.intr = &rk3568_vp0_intr,
目前可以得到
rk3588_firefly_itx_3588j:/ # cat /sys/kernel/debug/dri/0/summary
Video Port0: ACTIVE
Connector: DP-1
bus_format[1018]: RGB101010_1X30
overlay_mode[0] output_mode[f] color_space[0], eotf:0
Display mode: 8176x1264p54
clk[694000] real_clk[694000] type[48] flag[6]
H: 8176 8356 8386 8776
V: 1264 1324 1334 1464
Video Port1: DISABLED
Video Port2: DISABLED
Video Port3: DISABLED
目前接口已经可以输出8176x1264的分辨率,但是没有图层信息,无法绘制UI
这个麻烦帮忙看下,给指个处理思路 |
|