Re: [Intel-gfx] linux-next: Tree for Jul 25 [ call-trace: drm |drm-intel related? ]
From: Chris Wilson
Date: Thu Jul 25 2013 - 15:23:07 EST
On Thu, Jul 25, 2013 at 09:12:41PM +0200, Sedat Dilek wrote:
> New -3 dmesg.
That puts the ball back in the ddx's court. Next debugging patch:
diff --git a/src/intel_driver.c b/src/intel_driver.c
index f4d76bb..1f4f299 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -170,6 +170,7 @@ static Bool i830CreateScreenResources(ScreenPtr screen)
return FALSE;
intel_copy_fb(scrn);
+ ErrorF("%s: Success\n", __func__);
return TRUE;
}
diff --git a/src/intel_uxa.c b/src/intel_uxa.c
index 2f14173..6be7ebe 100644
--- a/src/intel_uxa.c
+++ b/src/intel_uxa.c
@@ -1150,11 +1150,15 @@ Bool intel_uxa_create_screen_resources(ScreenPtr screen)
intel_screen_private *intel = intel_get_screen_private(scrn);
dri_bo *bo = intel->front_buffer;
- if (!uxa_resources_init(screen))
+ if (!uxa_resources_init(screen)) {
+ ErrorF("bang: %d\n", __LINE__);
return FALSE;
+ }
- if (drm_intel_gem_bo_map_gtt(bo))
+ if (drm_intel_gem_bo_map_gtt(bo)) {
+ ErrorF("bang: %d\n", __LINE__);
return FALSE;
+ }
pixmap = screen->GetScreenPixmap(screen);
intel_set_pixmap_bo(pixmap, bo);
@@ -1167,8 +1171,10 @@ Bool intel_uxa_create_screen_resources(ScreenPtr screen)
NULL);
scrn->displayWidth = intel->front_pitch / intel->cpp;
- if (!intel_glamor_create_screen_resources(screen))
+ if (!intel_glamor_create_screen_resources(screen)) {
+ ErrorF("bang: %d\n", __LINE__);
return FALSE;
+ }
return TRUE;
}
--
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/