Re: [PATCH v6 1/3] drm/lsdc: add drm driver for loongson display controller

From: Jiaxun Yang
Date: Wed Feb 09 2022 - 07:18:26 EST




在 2022/2/9 8:52, Maxime Ripard 写道:
On Thu, Feb 03, 2022 at 11:47:16PM +0800, Sui Jingfeng wrote:
[...]
DT isn't really a solution either. Let's take the distribution
perspective there. Suppose you're a Fedora or Debian developer, and want
to make a single kernel image, and ship a DT to the user for their board
without any modification. How is either the Kconfig solution or DT flags
solution any good there? It doesn't help them at all.
We are working in another way. As we can tell model of the board by strings
passed from the firmware, we just built-in all poosible DTs into the kernel
and then tell which DT to load at boot time. So we can ensure users has
smmoth experience.

Thanks.
- Jiaxun


Maxime