Re: linux-next: Tree for Jul 25 [ call-trace: drm | drm-intel related? ]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 25, 2013 at 9:32 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> On Thu, Jul 25, 2013 at 9:22 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>> 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;
>>  }
>>
>> --
>
> dmesg -4 and X.log attached.
>

What means the bang line?

[    54.564] (II) GLX: Initialized DRI2 GL provider for screen 0
[    54.565] bang: 1159
[    54.565]
Fatal server error:
[    54.565] failed to create screen resources

>From [1];
...
Bool intel_uxa_create_screen_resources(ScreenPtr screen)
{
	ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
	PixmapPtr pixmap;
	intel_screen_private *intel = intel_get_screen_private(scrn);
	dri_bo *bo = intel->front_buffer;

	if (!uxa_resources_init(screen))
		return FALSE;

	if (drm_intel_gem_bo_map_gtt(bo))
		return FALSE;

	pixmap = screen->GetScreenPixmap(screen); <--- Line #1159 ?
	intel_set_pixmap_bo(pixmap, bo);
	intel_get_pixmap_private(pixmap)->pinned |= PIN_SCANOUT;
	screen->ModifyPixmapHeader(pixmap,
				   scrn->virtualX,
				   scrn->virtualY,
				   -1, -1,
				   intel->front_pitch,
				   NULL);
	scrn->displayWidth = intel->front_pitch / intel->cpp;

	if (!intel_glamor_create_screen_resources(screen))
		return FALSE;

	return TRUE;
}
...

- Sedat -

[1] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/intel_uxa.c?id=6f5fd772c7ca656b86394a0f036d4e0cf5b33d8e#n1159


> - S.
>
>> Chris Wilson, Intel Open Source Technology Centre
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-next" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux