Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-27 Thread Dave Airlie
On 26 May 2015 at 18:26, Pierre Moreau wrote: > >> On 26 May 2015, at 07:17, Ilia Mirkin wrote: >> >> On Tue, May 26, 2015 at 1:10 AM, Pierre Moreau wrote: On 26 May 2015, at 00:39, Ilia Mirkin wrote: > On Mon, May 25, 2015 at 6:22 PM, Pierre Moreau > wrote: > Most _DSM

Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-26 Thread Pierre Moreau
> On 26 May 2015, at 07:17, Ilia Mirkin wrote: > > On Tue, May 26, 2015 at 1:10 AM, Pierre Moreau wrote: >>> On 26 May 2015, at 00:39, Ilia Mirkin wrote: >>> On Mon, May 25, 2015 at 6:22 PM, Pierre Moreau wrote: Most _DSM will return an integer value of 0x8002 when given

Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-26 Thread Samuel Pitoiset
On 05/26/2015 12:22 AM, Pierre Moreau wrote: Most _DSM will return an integer value of 0x8002 when given an unknown UUID, revision ID or function ID. Checking locally allows us to differentiate that case from other ACPI errors, and to not report a "failed to evaluate _DSM" if 0x8002 is

Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-25 Thread Ilia Mirkin
On Tue, May 26, 2015 at 1:10 AM, Pierre Moreau wrote: >> On 26 May 2015, at 00:39, Ilia Mirkin wrote: >> >>> On Mon, May 25, 2015 at 6:22 PM, Pierre Moreau >>> wrote: >>> Most _DSM will return an integer value of 0x8002 when given an unknown >>> UUID, revision ID or function ID. Checking lo

Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-25 Thread Pierre Moreau
> On 26 May 2015, at 00:39, Ilia Mirkin wrote: > >> On Mon, May 25, 2015 at 6:22 PM, Pierre Moreau wrote: >> Most _DSM will return an integer value of 0x8002 when given an unknown >> UUID, revision ID or function ID. Checking locally allows us to differentiate >> that case from other ACP

Re: [Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-25 Thread Ilia Mirkin
On Mon, May 25, 2015 at 6:22 PM, Pierre Moreau wrote: > Most _DSM will return an integer value of 0x8002 when given an unknown > UUID, revision ID or function ID. Checking locally allows us to differentiate > that case from other ACPI errors, and to not report a "failed to evaluate > _DSM" >

[Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-25 Thread Pierre Moreau
Most _DSM will return an integer value of 0x8002 when given an unknown UUID, revision ID or function ID. Checking locally allows us to differentiate that case from other ACPI errors, and to not report a "failed to evaluate _DSM" if 0x8002 is returned which was confusing. Signed-off-by: Pie