st/egl: Downgrade warning to debug when we can't create a drm screen
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 26 Jan 2011 15:46:02 +0000 (10:46 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 26 Jan 2011 15:47:03 +0000 (10:47 -0500)
We try to load a DRI driver if this fails so don't confuse users.

src/gallium/state_trackers/egl/drm/native_drm.c
src/gallium/state_trackers/egl/x11/native_dri2.c

index 14c134ea1ada10346e8d904c58f853b0ca7166e6..6932f30a6a4b1bc11f1b6fe68737ec8ab125535b 100644 (file)
@@ -178,7 +178,7 @@ drm_display_init_screen(struct native_display *ndpy)
    drmFreeVersion(version);
 
    if (!drmdpy->base.screen) {
-      _eglLog(_EGL_WARNING, "failed to create DRM screen");
+      _eglLog(_EGL_DEBUG, "failed to create DRM screen");
       return FALSE;
    }
 
index c82e2da863b7c47df681e28a6a89545bc639a607..b18c3132c578142ac5ec69c8d132e0fe916246d4 100644 (file)
@@ -782,7 +782,7 @@ dri2_display_init_screen(struct native_display *ndpy)
       dri2dpy->event_handler->new_drm_screen(&dri2dpy->base,
             dri2dpy->dri_driver, fd);
    if (!dri2dpy->base.screen) {
-      _eglLog(_EGL_WARNING, "failed to create DRM screen");
+      _eglLog(_EGL_DEBUG, "failed to create DRM screen");
       return FALSE;
    }