您尚未登录。

#1 Re: 全志 SOC » 关于硬件图形加速,如何使用F1C100或者SV3S的display engine? » 2022-12-30 11:26:21

大家好,我现在是在v3s zero上使用spi接口来驱动ili9341 lcd屏幕,5.2主线内核dts上禁用了RGB接口的LCD display engine, 内核中启用了tinydrm的配置,在系统中也存在/dev/dri/card0和fb0的设备接口,但是使用modetest,一直扫描不到设备,请问有什么排查思路?

# ./modetest
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'...failed
trying to open device 'atmel-hlcdc'...failed
trying to open device 'fsl-dcu-drm'...failed
trying to open device 'vc4'...failed
trying to open device 'virtio_gpu'...failed
trying to open device 'mediatek'...failed
trying to open device 'meson'...failed
trying to open device 'pl111'...failed
no device found
#
#
# ls /dev/dri/card0
/dev/dri/card0
# ls /dev/fb0
/dev/fb0
#


dmesg
[    0.750304] SPI speed: 16MHz
[    0.753195] ili9341_probe mipi_dbi_spi_init
[    0.757444] preferred_depth=16, rotation = 270
[    0.761976] ili9341_probe mipi_dbi_spi_init success
[    0.767522] [drm] Initialized ili9341 1.0.0 20180514 for spi0.0 on minor 0
[    0.774492] ili9341_probe drm_dev_register
[    0.780125] enter yx240qv29_enable
[    0.780132] mipi_dbi_poweron_conditional_reset
[    0.938414] start mipi_dbi_command
[    1.178270] end mipi_dbi_command
[    1.182549] random: fast init done
[    1.262670] set addr mode, rotation 270, addr 0xe8
[    1.311729] random: crng init done
[    1.348402] Console: switching to colour frame buffer device 40x30
[    1.469206] ili9341 spi0.0: fb0: ili9341drmfb frame buffer device
[    1.475315] ili9341_probe success

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn