From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 08:46:02 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56D87ABF for ; Wed, 28 Jan 2015 08:46:02 +0000 (UTC) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 179A7FDD for ; Wed, 28 Jan 2015 08:46:02 +0000 (UTC) Received: by mail-ig0-f182.google.com with SMTP id r10so9770838igi.3 for ; Wed, 28 Jan 2015 00:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ugODhpq5uoseea2uOkuiZp+CjBChspKL+w3n0UcKJhI=; b=ySNwPRqQhHwltC7z1Ft4Ajz9uBCQv2uuqfzgyjWiq30rvTrhwOnH4H7w8zmf+AqGZs IpgaZI8x1Udni2o9AC5jjSHDwIXIZ5zMv9BKkWhZMQxOUGBfdx5DlK9ngv0TiK8H/w2Q H3LorD1kBxUf6FIK9S6xzhw3KjtEZHHq2gqsgTRPsOS+bBaLyVpm+tPcPEZYk85uIl8t /D4oZUx/lsNN+mzsrq7X7MPm9HVjnLQ/NDQEYjY1Zi1bwCtTplP4X5HFDsmkLieztQtA KJ0eNkoUWfgfVZK8NUMowlPQ4DVFJ3u9VqsfUwMA2TKz1VMH/QSlJlvjHq4wuImbnBFp 221w== MIME-Version: 1.0 X-Received: by 10.107.155.197 with SMTP id d188mr2472597ioe.29.1422434760343; Wed, 28 Jan 2015 00:46:00 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.78.14 with HTTP; Wed, 28 Jan 2015 00:46:00 -0800 (PST) In-Reply-To: <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.com> References: <000e01d039fb$d5959930$80c0cb90$@Wilcox-Tech.com> <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.com> Date: Wed, 28 Jan 2015 00:46:00 -0800 X-Google-Sender-Auth: uGPBJd03xgazF2EJxDrwFhR3dtc Message-ID: Subject: Re: drm2 regression: backlight adjustment on ivybridge no longer works From: Adrian Chadd To: Andrew Wilcox Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "Ranjan1018 ." <214748mv@gmail.com>, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 08:46:02 -0000 Hi! Good catch! But nope, didn't fix it. -adrian On 27 January 2015 at 23:23, Andrew Wilcox 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= "