From: "Zhigang Gong" <zhigang.gong@linux.intel.com>
To: 'Chris Wilson' <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 0/1] uxa/glamor: Route some drawing function to glamor.
Date: Wed, 4 Jan 2012 19:50:47 +0800 [thread overview]
Message-ID: <01b201cccad7$1a97ff10$4fc7fd30$@linux.intel.com> (raw)
In-Reply-To: <d08817$2no8fa@azsmga001.ch.intel.com>
> -----Original Message-----
> From: Chris Wilson [mailto:chris@chris-wilson.co.uk]
> Sent: Wednesday, January 04, 2012 5:47 AM
> To: zhigang.gong@linux.intel.com
> Cc: intel-gfx@lists.freedesktop.org; zhigang.gong@gmail.com;
> zhigang.gong@linux.intel.com
> Subject: Re: [PATCH 0/1] uxa/glamor: Route some drawing function to
> glamor.
>
> On Sat, 31 Dec 2011 21:18:14 +0800, zhigang.gong@linux.intel.com
> wrote:
> > From: Zhigang Gong <zhigang.gong@linux.intel.com>
> >
> > I agree to pending the last patch which is to create glamor pixmap by
> default.
> > This patch is based on the other 3 patch. After apply this patch, and
> > use the latest glamor.
>
> I've pushed those 4 patches (all bar to use
> intel_glamor_create_textured_pixmap by default). I've a new segfault for
> you in glamor_core.c::glamor_validate_gc(), line 425 as pixmap_priv is
> NULL, which I only hit just as I thought I had completed testing the code.
>
> Afaics, the remaining big topics for the ddx are how to enable glx and
> integration between glamor/uxa render paths, right?
Exactly.
That's the hardest part now. There are two DRI loaders, one is AIGLX and the
other is EGL. Both loader have their own glapi.c. Currently, the AIGLX
always
get loaded before the DDX driver, and thus the glapi in glx will be used.
One possible solution is as below, please help to review and comment:
let the glamor egl module get loaded prior to the AIGLX And load the proper
libGL.so
thus the egl will create a complete and correct context. And then latter, we
can call
_glapi_create_table_from_handle to initialize the glx's dispatch structure.
We can treat the context created by egl for glamor is the context dedicated
for server
client, and each time when call into glamor's rendering path, force current
to glamor's
context and restore to previous context at returning.
Copy to KRH, I know you are the master of DRI2/AIGLX. Any suggestion here?
Thanks.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
prev parent reply other threads:[~2012-01-04 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-31 13:18 [PATCH 0/1] uxa/glamor: Route some drawing function to glamor zhigang.gong
2011-12-31 13:18 ` [PATCH] uxa/glamor: Route some missing " zhigang.gong
2012-01-03 21:46 ` [PATCH 0/1] uxa/glamor: Route some " Chris Wilson
2012-01-04 11:50 ` Zhigang Gong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='01b201cccad7$1a97ff10$4fc7fd30$@linux.intel.com' \
--to=zhigang.gong@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.