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

From: Andrew Wilcox <AWilcox_at_Wilcox-Tech.com>
Date: Wed, 28 Jan 2015 01:23:26 -0600
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
Received on Wed Jan 28 2015 - 06:23:28 UTC

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