When checking for unsupported expect an error is printed every time.
This spams the log for platforms where this is expected, e.g. ls1028a
having a Vivante (etnaviv) GPU and Mali display processor.

Signed-off-by: Alexander Stein <alexander.st...@ew.tq-group.com>
---
Every time glmark2-es2-wayland is started on a downstream kernel raises the 
error:
> [drm:malidp_format_mod_supported [mali_dp]] *ERROR* Unknown modifier (not Arm)

 drivers/gpu/drm/arm/malidp_planes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/arm/malidp_planes.c 
b/drivers/gpu/drm/arm/malidp_planes.c
index 34547edf1ee3c..87f2e5ee87907 100644
--- a/drivers/gpu/drm/arm/malidp_planes.c
+++ b/drivers/gpu/drm/arm/malidp_planes.c
@@ -159,7 +159,7 @@ bool malidp_format_mod_supported(struct drm_device *drm,
        }
 
        if (!fourcc_mod_is_vendor(modifier, ARM)) {
-               DRM_ERROR("Unknown modifier (not Arm)\n");
+               DRM_DEBUG_KMS("Unknown modifier (not Arm)\n");
                return false;
        }
 
-- 
2.43.0

Reply via email to