Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 00:46:00 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Andrew Wilcox <AWilcox@wilcox-tech.com>
Cc:        "Ranjan1018 ." <214748mv@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: drm2 regression: backlight adjustment on ivybridge no longer works
Message-ID:  <CAJ-Vmokph=BHH895uHxQh=dHPfb5_ik4MZrq8sOGrd0AtPzymQ@mail.gmail.com>
In-Reply-To: <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.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> <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

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



-adrian


On 27 January 2015 at 23:23, Andrew Wilcox <AWilcox@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 a=
nd 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokph=BHH895uHxQh=dHPfb5_ik4MZrq8sOGrd0AtPzymQ>