Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 01:23:26 -0600
From:      "Andrew Wilcox" <AWilcox@Wilcox-Tech.com>
To:        "'Ranjan1018 .'" <214748mv@gmail.com>
Cc:        'freebsd-current' <freebsd-current@freebsd.org>
Subject:   RE: drm2 regression: backlight adjustment on ivybridge no longer works
Message-ID:  <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.com>
In-Reply-To: <CACyC=qZeG8L%2BbZu=RacU_rdNVTFhyCFH2A%2BdNw71%2B09cZ20VgA@mail.gmail.com>
References:  <CAJ-VmomfBrBN6HVBq5FoRf1nRqvrhiDOw6RHjfs13j-9cqi1vg@mail.gmail.com> <CACyC=qYMT3VFx4GxypJ6F61pKSaxE0JKBK%2BudDMPSh4_ASAi6w@mail.gmail.com> <000e01d039fb$d5959930$80c0cb90$@Wilcox-Tech.com> <CACyC=qZeG8L%2BbZu=RacU_rdNVTFhyCFH2A%2BdNw71%2B09cZ20VgA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009501d03acb$4f380d70$eda82850$>