Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-30 Thread Nayan Deshmukh
Hi Axel, On 1 Oct 2016 02:34, "Axel Davy" wrote: > > On 16/09/2016 14:51, Nayan Deshmukh wrote: >> >> >> bool flushed; >> + bool is_different_gpu; >> }; >> > > I get a warning when I build about incompatible pointer type at the line > > fd =

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-30 Thread Axel Davy
On 16/09/2016 14:51, Nayan Deshmukh wrote: bool flushed; + bool is_different_gpu; }; I get a warning when I build about incompatible pointer type at the line fd = loader_get_user_preferred_fd(fd, >is_different_gpu); When compiling on 32 bits. I get this should be int. Axel

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-19 Thread Nayan Deshmukh
Hi Leo, On Tue, Sep 20, 2016 at 1:56 AM, Leo Liu wrote: > > > On 09/17/2016 07:33 AM, Nayan Deshmukh wrote: > > Hi Leo, > > Could you push the patches? I don't have the push access. > > > > Can you rebase all your reviewed patches, and add RB to it, and then you > can send

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-19 Thread Emil Velikov
Hi Nayan, On 16 September 2016 at 13:51, Nayan Deshmukh wrote: > + scrn->pipe = scrn->base.pscreen->context_create(scrn->base.pscreen, > + >base, 0); > + I think you're forgetting to destroy the context in

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-19 Thread Leo Liu
On 09/17/2016 07:33 AM, Nayan Deshmukh wrote: Hi Leo, Could you push the patches? I don't have the push access. Can you rebase all your reviewed patches, and add RB to it, and then you can send them to me ? Sorry for too busy to do this for you. Regards, Leo Regards, Nayan. On Fri,

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-17 Thread Nayan Deshmukh
Hi Leo, Could you push the patches? I don't have the push access. Regards, Nayan. On Fri, Sep 16, 2016 at 7:44 PM, Leo Liu wrote: > This Patch is Reviewed-by: Leo Liu > > > On 09/16/2016 08:51 AM, Nayan Deshmukh wrote: > >> In case of prime when rendering is

Re: [Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-16 Thread Leo Liu
This Patch is Reviewed-by: Leo Liu On 09/16/2016 08:51 AM, Nayan Deshmukh wrote: In case of prime when rendering is done on GPU other then the server GPU, use a seprate linear buffer for each back buffer which will be displayed using present extension. v2: Use a seprate

[Mesa-dev] [PATCH] vl/dri3: handle the case of different GPU(v4.1)

2016-09-16 Thread Nayan Deshmukh
In case of prime when rendering is done on GPU other then the server GPU, use a seprate linear buffer for each back buffer which will be displayed using present extension. v2: Use a seprate linear buffer for each back buffer (Michel) v3: Change variable names and fix coding style (Leo and Emil)