Re: drm2 regression: backlight adjustment on ivybridge no longer works

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Wed, 28 Jan 2015 00:46:00 -0800
Hi!

Good catch! But nope, didn't fix it.



-adrian


On 27 January 2015 at 23:23, Andrew Wilcox <AWilcox_at_wilcox-tech.com> wrote:
> Ranjan1018 . sent: 27 January 2015 23:42:
>> The regression was introduced in r277487.
>
> Looking closer at this revision, I believe I may see the issue.  Most of the new tunables introduced in dev/drm2/i915/i915_drv.c are uninitialised and thus probably contain junk.  It likely works for me because the firmware of my laptop 0s memory on EFI boot.
>
> I have uploaded a diff here that I believe may fix this.  Please test and let me know:
>
> http://foxkit.us/FreeBSD/i915-uninitialised-var-fix.diff
>
> Best,
> Andrew
>
> --
> Andrew Wilcox, C/C++/Python developer, kernel hacker
> Blog:   http://blog.foxkit.us/  WWW: http://foxkit.us/
> GitHub:  https://github.com/awilfox
>
>
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jan 28 2015 - 07:46:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC