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 <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2025-01-09 08:47:32 -08:00
parent 82193457ce
commit 9a76d3abd7

View File

@ -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}"