From 9a76d3abd790064f53c373426709cfe53aaef2f7 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Thu, 9 Jan 2025 08:47:32 -0800 Subject: [PATCH] glmark: Simplify logic for DRM config Since i.MX 8, DRM is supported by default by the i.MX GPU. Simplify the DRM config logic by reversing the default, making it clear that it is i.MX 6 and 7 that do not support DRM. Signed-off-by: Tom Hochstein --- .../recipes-benchmark/glmark2/glmark2_%.bbappend | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend index a5d3c2e2c..dfedc062e 100644 --- a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend @@ -1,5 +1,5 @@ -# Only _mx8 machine do provide virtual/libgbm required for any drm* flavour -DRM-REMOVE:imxgpu = "drm-gl drm-gles2" -DRM-REMOVE:imxgpu:mx8-nxp-bsp = "" -DRM-REMOVE:imxgpu:mx95-nxp-bsp = "" +# 6 and 7 Vivante do not provide virtual/libgbm required for any drm* flavour +DRM-REMOVE = "" +DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2" +DRM-REMOVE:imxgpu:mx7-nxp-bsp = "drm-gl drm-gles2" PACKAGECONFIG:remove = "${DRM-REMOVE}"