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: v5.15~13454^2~2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c82b4d73e2cd32fff41be0cd6e75ea83d32943b3;p=platform%2Fkernel%2Flinux-starfive.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 5f8f0bf..beff793 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