From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 07:06:02 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12CFE4CA for ; Wed, 28 Jan 2015 07:06:02 +0000 (UTC) Received: from mail.wilcox-tech.com (mail.foxkit.us [192.99.209.192]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.wilcox-tech.com", Issuer "mail.wilcox-tech.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A53FA34A for ; Wed, 28 Jan 2015 07:06:00 +0000 (UTC) Received: (qmail 13763 invoked from network); 28 Jan 2015 07:07:04 -0000 Received: from c-71-57-141-247.hsd1.fl.comcast.net (HELO Todd) (AWilcox@Wilcox-Tech.com@71.57.141.247) by mail.foxkit.us with ESMTPA; 28 Jan 2015 07:07:04 -0000 From: "Andrew Wilcox" To: "'Ranjan1018 .'" <214748mv@gmail.com> References: <000e01d039fb$d5959930$80c0cb90$@Wilcox-Tech.com> In-Reply-To: Subject: RE: drm2 regression: backlight adjustment on ivybridge no longer works Date: Wed, 28 Jan 2015 01:06:00 -0600 Message-ID: <009301d03ac8$dfa09e20$9ee1da60$@Wilcox-Tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIkD3QRswOKHk1/aLD21PpFfsdgwgGR9mCRAv4GIYoBQ/0CWZv+0Ldg Content-Language: en-gb Cc: '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 07:06:02 -0000 Ranjan1018 . sent: 27 January 2015 23:42: > my Samsung laptop has an Intel IvyBridge: [snip] > The regression was introduced in r277487. > The backlight adjustment works in FreeBSD 11.0-CURRENT r277395, = r277486 > but not in r277487, r277534 and r277639. Hrm. That is interesting. A few questions I have then. - What happens if you set drm.i915.invert_brightness to -1 in kenv(1) or = /boot/loader.conf? - What happens if you set drm.i915.invert_brightness to 1 in kenv(1) or = /boot/loader.conf? - What version of graphics/libdrm do you have installed? Did you = rebuild it after installing the new kernel? (This shouldn't be = necessary, but I am trying to gather all details.) Let's start there and see if we can pin down a cause. Best, Andrew -- Andrew Wilcox, C/C++/Python developer, kernel hacker Blog: http://blog.foxkit.us/ WWW: http://foxkit.us/ GitHub: https://github.com/awilfox