Re: Need help debugging Sony Vaio VPCY2 backlight control problem

Michel Alexandre Salim
2011-07-04T11:31:54Z

Hi Rui,

They apply cleanly on top of 3.0-rc5, but I'm getting a
warning-treated-as-failure. Which kernel tree am I supposed to be
applying this to -- linus' 3.0-rc5, a post-rc5 commit, drm-intel-fixes
or drm-intel-next?

Thanks -- Michel

CC [M] drivers/gpu/drm/i915/i915_drv.o
CC [M] drivers/gpu/drm/i915/i915_dma.o
CC [M] drivers/gpu/drm/i915/i915_irq.o
drivers/gpu/drm/i915/i915_irq.c: In function ‘ivybridge_irq_handler’:
drivers/gpu/drm/i915/i915_irq.c:505:3: error: implicit declaration of
function ‘intel_opregion_gse_intr’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[4]: *** [drivers/gpu/drm/i915/i915_irq.o] Error 1
make[3]: *** [drivers/gpu/drm/i915] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

On 07/04/2011 10:57 AM, Zhang Rui wrote:
> Hi, Michael,
>
> please check if the two patches attached help.
>
> thanks,
> rui
>
> On Mon, 2011-07-04 at 16:48 +0800, Michel Alexandre Salim wrote:
>> On 07/04/2011 10:46 AM, Michel Alexandre Salim wrote:
>>> Here are the ectool dumps, before setting any brightness (backlight=0),
>>> after setting it to 5, and after setting it to 3, plus the typescript
>>> log of the commands issued and the sysfs readings.
>>>
>>> I then set brightness back to 0 (ec-after3.txt) -- didn't log the
>>> keyboard interactions because it's the same (value for brightness
>>> concurs with what is set, but actual_brightness is still -1)
>>>
>>> Let me know if you need anything else. Once we can at least pinpoint the
>>> problem to the right subsystem, I'll add these attachments to the
>>> correct bug report.
>>>
>>> Thanks,
>>>
>> And here's the last dump file, forgot to attach it earlier.
>>
>> Thanks,
>>