RK3399/libdrm/modetest

20 篇文章 0 订阅
13 篇文章 0 订阅

PLANE(ID=58, W=1920, H=1080)
      |
    \ | /
CRCT(ID=64) --> ENCODER(ID=92) --> CONNECTED(ID=93) --> HDMI


modetest   -a -s 93@64:1920x1080  -P 58@64:1920x1080 -Ftiles

[root@rk3399:/]#  modetest   -a -s 93@64:1920x1080  -P 58@64:1920x1080
trying to open device 'i915'...failed
trying to open device 'amdgpu'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...failed
trying to open device 'exynos'...failed
trying to open device 'tilcdc'...failed
trying to open device 'msm'...failed
trying to open device 'sti'...failed
trying to open device 'tegra'...failed
trying to open device 'imx-drm'...failed
trying to open device 'rockchip'...done
setting mode 1920x1080-60Hz@XR24 on connectors 93, crtc 64
[ 1053.287799] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
[ 1053.312178] dwhdmi-rockchip ff940000.hdmi: Rate 138500000 missing; compute N dynamically
testing 1920x1080@XR24 overlay plane 58


#######  

[root@rk3399:/]# modetest  -c
Connectors:
id      encoder status          name            size (mm)       modes   encoders
 
93      92      connected       HDMI-A-1        510x280         36      92
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1111 138500 flags: phsync, nvsync; type: preferred, driver
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 74176 flags: phsync, pvsync, interlace; type: driver
  1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
  1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver

[root@rk3399:/]# modetest -e
Encoders:
id      crtc    type    possible crtcs  possible clones 
92      83      TMDS    0x00000003      0x00000000
100     0       TMDS    0x00000003      0x00000000
 
 
 
 [root@rk3399:/]# modetest    -p 
CRTCs:
id      fb      pos     size
64      129     (0,0)   (1920x1080)
  1920x1080 60 1920 1932 1936 1948 1080 1088 1092 1100 128568 flags: nhsync, nvsync; type:
  props:
        44 left margin:
                flags: range
                values: 0 100
                value: 100
        45 right margin:
                flags: range
                values: 0 100
                value: 100
        46 top margin:
                flags: range
                values: 0 100
                value: 100
        47 bottom margin:
                flags: range
                values: 0 100
                value: 100
        29 CABC_LUT:
                flags: blob
                blobs:

                value:
        28 CABC_MODE:
                flags: enum
                enums: Disable=0 Normal=1 LowPower=2 Userspace=3
                value: 0
        28 CABC_MODE:
                flags: enum
                enums: Disable=0 Normal=1 LowPower=2 Userspace=3
                value: 0
        57 FEATURE:
                flags: immutable bitmask
                values: afbdc=0x1
                value: 1
83      129     (0,0)   (1920x1080)
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1111 138500 flags: phsync, nvsync; type: preferred, driver
  props:
        44 left margin:
                flags: range
                values: 0 100
                value: 100
        45 right margin:
                flags: range
                values: 0 100
                value: 100
        46 top margin:
                flags: range
                values: 0 100
                value: 100
        47 bottom margin:
                flags: range
                values: 0 100
                value: 100
        29 CABC_LUT:
                flags: blob
                blobs:

                value:
        28 CABC_MODE:
                flags: enum
                enums: Disable=0 Normal=1 LowPower=2 Userspace=3
                value: 0
        28 CABC_MODE:
                flags: enum
                enums: Disable=0 Normal=1 LowPower=2 Userspace=3
                value: 0
        79 FEATURE:
                flags: immutable bitmask
                values: afbdc=0x1
                value: 0

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
58      64      129     0,0             0,0     0               0x00000001
  formats: XR24 AR24 XB24 AB24 RG24 BG24 RG16 BG16 NV12 NV16 NV24 NA12 NA16 NA24
  props:
        7 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        8 SHARE_ID:
                flags: immutable range
                values: 0 4294967295
                value: 58
        60 rotation:
                flags: bitmask
                values: rotate-0=0x1 reflect-x=0x10 reflect-y=0x20
                value: 1
        56 FEATURE:
                flags: immutable bitmask
                values: scale=0x1 alpha=0x2 hdr2sdr=0x4 sdr2hdr=0x8 afbdc=0x10 pdaf_pos=0x20
                value: 19
61      0       0       0,0             0,0     0               0x00000001
  formats: XR24 AR24 XB24 AB24 RG24 BG24 RG16 BG16
  props:
        7 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 2
        8 SHARE_ID:
                flags: immutable range
                values: 0 4294967295
                value: 61
        63 rotation:
                flags: bitmask
                values: rotate-0=0x1 reflect-y=0x20
                value: 1
        56 FEATURE:
                flags: immutable bitmask
                values: scale=0x1 alpha=0x2 hdr2sdr=0x4 sdr2hdr=0x8 afbdc=0x10 pdaf_pos=0x20
                value: 18
 
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值