From: Lothar Waßmann Date: Tue, 24 May 2016 06:31:49 +0000 (+0200) Subject: drm/imx: imx-ldb: honor 'native-mode' property when selecting video mode from DT X-Git-Tag: Ubuntu-5.10.0-12.13~12465^2~2^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c82b4d73e2cd32fff41be0cd6e75ea83d32943b3;p=mirror_ubuntu-hirsute-kernel.git drm/imx: imx-ldb: honor 'native-mode' property when selecting video mode from DT This patch allows to select a specific video mode from a list of modes defined in DT by setting the 'native-mode' property appropriately. This change does not affect the behaviour of existing platforms, since they either: - have just one display-timings subnode - have the native-mode property pointing to the first entry - let the bootloader select the appropriate timing Signed-off-by: Lothar Waßmann Signed-off-by: Philipp Zabel --- diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index 5f8f0bf45a62..beff793bb717 100644 --- a/drivers/gpu/drm/imx/imx-ldb.c +++ b/drivers/gpu/drm/imx/imx-ldb.c @@ -25,6 +25,7 @@ #include #include #include +#include