weston: add aml-drm-config interface [1/1]
PD#SWPL-179724
Problem:
GPU need the format and modifier for OSD plane when
apply direct display buffer
Solution:
SWPL-179724
Verify:
ah212
Change-Id: Ia5bff4cee5d2933c42f49e38a4adb690bd4c5cfc
Signed-off-by: limin.tian <limin.tian@amlogic.com>
diff --git a/libweston/compositor.c b/libweston/compositor.c
index 67e4589..32944b2 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -7884,6 +7884,10 @@
weston_log("\n aml config fail\n");
}
+ if (aml_drm_config_setup(ec) != 0 ) {
+ weston_log("\n aml drm config fail\n");
+ }
+
wl_list_init(&ec->view_list);
wl_list_init(&ec->plane_list);
wl_list_init(&ec->layer_list);