[Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2014-12-23 Thread Vince Hsu
This patch adds some checks in the suspend/resume functions to distinguish the dGPU and mobile GPU and exports some variables/functions so that the nouveau platform device can reuse them. Signed-off-by: Vince Hsu --- drm/nouveau_drm.c | 16 +++- drm/nouveau_drm.h | 2 ++ 2 files cha

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2014-12-29 Thread Emil Velikov
On 23/12/14 10:40, Vince Hsu wrote: > This patch adds some checks in the suspend/resume functions to distinguish > the dGPU and mobile GPU and exports some variables/functions so that the > nouveau platform device can reuse them. > Hi Vince, Afaiu one needs to export a symbol as it's used by anot

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2014-12-29 Thread Vince Hsu
Hi Emil, On 12/30/2014 10:34 AM, Emil Velikov wrote: On 23/12/14 10:40, Vince Hsu wrote: This patch adds some checks in the suspend/resume functions to distinguish the dGPU and mobile GPU and exports some variables/functions so that the nouveau platform device can reuse them. Hi Vince, Afaiu

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-05 Thread Thierry Reding
On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: > Hi Emil, > > On 12/30/2014 10:34 AM, Emil Velikov wrote: > >On 23/12/14 10:40, Vince Hsu wrote: > >>This patch adds some checks in the suspend/resume functions to distinguish > >>the dGPU and mobile GPU and exports some variables/functio

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-05 Thread Alexandre Courbot
On Mon, Jan 5, 2015 at 4:32 PM, Thierry Reding wrote: > On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: >> Hi Emil, >> >> On 12/30/2014 10:34 AM, Emil Velikov wrote: >> >On 23/12/14 10:40, Vince Hsu wrote: >> >>This patch adds some checks in the suspend/resume functions to distinguish >

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Vince Hsu
On 01/06/2015 03:50 AM, Alexandre Courbot wrote: On Mon, Jan 5, 2015 at 4:32 PM, Thierry Reding wrote: On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: Hi Emil, On 12/30/2014 10:34 AM, Emil Velikov wrote: On 23/12/14 10:40, Vince Hsu wrote: This patch adds some checks in the suspe

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Thierry Reding
On Mon, Jan 05, 2015 at 08:50:18PM +0100, Alexandre Courbot wrote: > On Mon, Jan 5, 2015 at 4:32 PM, Thierry Reding > wrote: > > On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: > >> Hi Emil, > >> > >> On 12/30/2014 10:34 AM, Emil Velikov wrote: > >> >On 23/12/14 10:40, Vince Hsu wrote:

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Vince Hsu
On 01/06/2015 07:49 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, Jan 05, 2015 at 08:50:18PM +0100, Alexandre Courbot wrote: On Mon, Jan 5, 2015 at 4:32 PM, Thierry Reding wrote: On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: Hi Emil, On 12/30/2014 10:34 AM,

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Thierry Reding
On Tue, Jan 06, 2015 at 08:27:06PM +0800, Vince Hsu wrote: > > On 01/06/2015 07:49 PM, Thierry Reding wrote: > >* PGP Signed by an unknown key > > > >On Mon, Jan 05, 2015 at 08:50:18PM +0100, Alexandre Courbot wrote: > >>On Mon, Jan 5, 2015 at 4:32 PM, Thierry Reding > >>wrote: > >>>On Tue, Dec

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Ilia Mirkin
On Tue, Jan 6, 2015 at 9:37 AM, Thierry Reding wrote: > On Tue, Jan 06, 2015 at 08:27:06PM +0800, Vince Hsu wrote: >> >> On 01/06/2015 07:49 PM, Thierry Reding wrote: >> >* PGP Signed by an unknown key >> > >> >On Mon, Jan 05, 2015 at 08:50:18PM +0100, Alexandre Courbot wrote: >> >>On Mon, Jan 5,

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Thierry Reding
On Tue, Jan 06, 2015 at 09:44:01AM -0500, Ilia Mirkin wrote: > On Tue, Jan 6, 2015 at 9:37 AM, Thierry Reding > wrote: > > On Tue, Jan 06, 2015 at 08:27:06PM +0800, Vince Hsu wrote: > >> > >> On 01/06/2015 07:49 PM, Thierry Reding wrote: > >> >* PGP Signed by an unknown key > >> > > >> >On Mon, J

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Ilia Mirkin
On Tue, Jan 6, 2015 at 9:50 AM, Thierry Reding wrote: > On Tue, Jan 06, 2015 at 09:44:01AM -0500, Ilia Mirkin wrote: >> On Tue, Jan 6, 2015 at 9:37 AM, Thierry Reding >> wrote: >> > On Tue, Jan 06, 2015 at 08:27:06PM +0800, Vince Hsu wrote: >> >> >> >> On 01/06/2015 07:49 PM, Thierry Reding wrot

Re: [Nouveau] [PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions

2015-01-06 Thread Thierry Reding
On Tue, Jan 06, 2015 at 10:03:36AM -0500, Ilia Mirkin wrote: > On Tue, Jan 6, 2015 at 9:50 AM, Thierry Reding > wrote: > > On Tue, Jan 06, 2015 at 09:44:01AM -0500, Ilia Mirkin wrote: > >> On Tue, Jan 6, 2015 at 9:37 AM, Thierry Reding > >> wrote: > >> > On Tue, Jan 06, 2015 at 08:27:06PM +0800