当前位置:网站首页>Mt2712 Display Debug Method

Mt2712 Display Debug Method

2022-06-09 06:03:00 SlamDunk31598

  • DPI test pattern

Use the following command, from DPI Output test pattern, Apply to LVDS Show path :

DPI0 pattern, test pattern color bar:
    echo regw:0x1401DF00=0x41 > /sys/kernel/debug/mtkdrm
disable test pattern:
    echo regw:0x1401DF00=0x00 > /sys/kernel/debug/mtkdrm

DPI1 pattern
    echo regw:0x14024F00=0x41 > /sys/kernel/debug/mtkdrm
disable test pattern:
    echo regw:0x14024F00=0x00 > /sys/kernel/debug/mtkdrm

  •  DSI test pattern:

Use the following command, from DSI Output test pattern, Apply to mipi-dsi Show path :

DSI0:
 Set up colorbar:
    echo regw:0x1401B178=0x00ff00 >/sys/kernel/debug/mtkdrm
 Can make test:
    echo regw:0x1401B17C=0x40 >/sys/kernel/debug/mtkdrm

DSI1:
 Set up colorbar:
    echo regw:0x14035178=0x00ff00 >/sys/kernel/debug/mtkdrm
 Can make test:
    echo regw:0x1403517C=0x40 >/sys/kernel/debug/mtkdrm

  • color0 debug mode config
color0: test pattern:
    
enable test pattern:
    echo regw:0x14013420=0x1240701 > /sys/kernel/debug/mtkdrm 
disable test pattern,  Four color color bar:
    echo regw:0x14013420=0x1240700 > /sys/kernel/debug/mtkdrm

 ub941 test pattern:

i2cset -f -y 0 0x1a 0x64 0x31 

  ub948 test pattern:

i2cset -f -y 0 0x2c 0x64 0x31 

 

 

原网站

版权声明
本文为[SlamDunk31598]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203021426385308.html