Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Dave Airlie
On Fri, Feb 21, 2014 at 6:27 AM, Rafael J. Wysocki wrote: > On 2/20/2014 10:23 AM, Jiang Liu wrote: >> >> Fix regression caused by commit b072e53, which breaks loading nouveau >> driver on optimus laptops. >> >> On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) >> has special

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Jiang Liu
Thanks, Rafael. Will cc ACPI maillist next time. On 2014/2/21 4:27, Rafael J. Wysocki wrote: > On 2/20/2014 10:23 AM, Jiang Liu wrote: >> Fix regression caused by commit b072e53, which breaks loading nouveau >> driver on optimus laptops. >> >> On some platforms, ACPI _DSM method

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Rafael J. Wysocki
On 2/20/2014 10:23 AM, Jiang Liu wrote: Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI

[PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Jiang Liu
Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private

[PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Jiang Liu
Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Rafael J. Wysocki
On 2/20/2014 10:23 AM, Jiang Liu wrote: Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Jiang Liu
Thanks, Rafael. Will cc ACPI maillist next time. On 2014/2/21 4:27, Rafael J. Wysocki wrote: On 2/20/2014 10:23 AM, Jiang Liu wrote: Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid,

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-20 Thread Dave Airlie
On Fri, Feb 21, 2014 at 6:27 AM, Rafael J. Wysocki rafael.j.wyso...@intel.com wrote: On 2/20/2014 10:23 AM, Jiang Liu wrote: Fix regression caused by commit b072e53, which breaks loading nouveau driver on optimus laptops. On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0)

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Jiang Liu
On 2014/2/19 18:12, Maarten Lankhorst wrote: > op 19-02-14 05:53, Jiang Liu schreef: >> On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) >> has special requirements on the fourth parameter, which is different >> from ACPI specifications. So revert to the private

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Maarten Lankhorst
op 19-02-14 05:53, Jiang Liu schreef: On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Jiang Liu
Hi Maarten, Forgot to refresh my working tree. Please help to apply this patch on top of previous one to solve a compilation bug. diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/no index c6c7d0d..83face3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_acpi.c +++

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Jiang Liu
Hi Maarten, Forgot to refresh my working tree. Please help to apply this patch on top of previous one to solve a compilation bug. diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/no index c6c7d0d..83face3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_acpi.c +++

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Maarten Lankhorst
op 19-02-14 05:53, Jiang Liu schreef: On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Jiang Liu
On 2014/2/19 18:12, Maarten Lankhorst wrote: op 19-02-14 05:53, Jiang Liu schreef: On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to

[PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-18 Thread Jiang Liu
On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of using common acpi_check_dsm() interface.

[PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-18 Thread Jiang Liu
On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of using common acpi_check_dsm() interface.