Re: [PATCH] Add opregion support for Intel hardware

2008-05-29 Thread Matthew Garrett
Updated patch attached. diff --git a/linux-core/Makefile.kernel b/linux-core/Makefile.kernel index 7a477a1..fb8722a 100644 --- a/linux-core/Makefile.kernel +++ b/linux-core/Makefile.kernel @@ -20,7 +20,7 @@ r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o mga-objs:= mga_drv.o mga_

Re: [PATCH] Add opregion support for Intel hardware

2008-05-28 Thread Hong Liu
On Wed, 2008-05-28 at 13:35 +0100, Matthew Garrett wrote: > On Wed, May 28, 2008 at 03:28:27PM +0300, Daniel Stone wrote: > > > Can has copyright and licence? > > Uhm. Yeah, Good point. Hong, I'm guessing your original code was > copyright Intel and under the standard drm licensing? > Yes, and

Re: [PATCH] Add opregion support for Intel hardware

2008-05-28 Thread Matthew Garrett
On Wed, May 28, 2008 at 03:28:27PM +0300, Daniel Stone wrote: > Can has copyright and licence? Uhm. Yeah, Good point. Hong, I'm guessing your original code was copyright Intel and under the standard drm licensing? -- Matthew Garrett | [EMAIL PROTECTED]

Re: [PATCH] Add opregion support for Intel hardware

2008-05-28 Thread Daniel Stone
On Wed, May 28, 2008 at 12:09:00PM +0100, Matthew Garrett wrote: > diff --git a/linux-core/i915_opregion.c b/linux-core/i915_opregion.c > new file mode 100644 > index 000..47fe90f > --- /dev/null > +++ b/linux-core/i915_opregion.c > @@ -0,0 +1,358 @@ > +#include Can has copyright and licence?

[PATCH] Add opregion support for Intel hardware

2008-05-28 Thread Matthew Garrett
This is a modified version of Hong's patch from last month, with a few modifications to make it work correctly on my test hardware (altered the backlight write function, made it enable the legacy backlight controller interrupts on mobile hardware, sorted the interrupt function so we don't get a