[PATCH v7 0/7] drm/lsdc: add drm driver for loongson display controller
Jiaxun Yang
jiaxun.yang at flygoat.com
Mon Feb 14 05:54:03 UTC 2022
在 2022/2/13 14:16, Sui Jingfeng 写道:
> There is a display controller in loongson's LS2K1000 SoC and LS7A1000
> bridge chip, the DC is a PCI device in those chips. It has two display
> pipes but with only one hardware cursor. Each way has a DVO interface
> which provide RGB888 signals, vertical & horizontal synchronisations,
> data enable and the pixel clock. Each CRTC is able to scanout from
> 1920x1080 resolution at 60Hz. The maxmium resolution is 2048x2048
> according to the hardware spec.
Hi Jiangfeng,
I see you added dts for those boards, but I didn't see you wire up them
in Makefile and code? How can you use them in present systems?
I guess to make those dts work for general all-in-one kernel, what you
need to do is, for example Lemota A1901:
1. Add __dtb_lemote_a1901 to builtin_dtbs.h
2. Wire up with something like:
if (!strcmp("LEMOTE-/LS3A4000/-7A1000-1w-V01-pc", eboard->name)
loongson_fdt_blob = __dtb_lemote_a1901
In arch/mips/loongson64/env.c.
Thanks.
- Jiaxun
More information about the dri-devel
mailing list