[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUU__nxcuX4RF9EBGm0nMBFaxfWpH00b2=ZsZZaxo9iscw@mail.gmail.com>
Date: Thu, 25 Jul 2013 22:07:02 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: Chris Wilson <chris@...is-wilson.co.uk>,
Sedat Dilek <sedat.dilek@...il.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
intel-gfx <intel-gfx@...ts.freedesktop.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
DRI <dri-devel@...ts.freedesktop.org>,
linux-next <linux-next@...r.kernel.org>
Subject: Re: [Intel-gfx] linux-next: Tree for Jul 25 [ call-trace: drm |
drm-intel related? ]
On Thu, Jul 25, 2013 at 9:32 PM, Sedat Dilek <sedat.dilek@...il.com> wrote:
> On Thu, Jul 25, 2013 at 9:22 PM, Chris Wilson <chris@...is-wilson.co.uk> 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@...r.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists