From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/2] drm/i915: clear up backlight inversion confusion on gen4 Date: Mon, 23 Apr 2012 16:22:05 +0200 Message-ID: <20120423142205.GI4935@phenom.ffwll.local> References: <1335173535-14811-1-git-send-email-daniel.vetter@ffwll.ch> <4F9542EF.3010208@osadl.org> <20120423123257.GE4935@phenom.ffwll.local> <20120423123619.GF4935@phenom.ffwll.local> <4F9555D6.2020708@osadl.org> <20120423133934.GG4935@phenom.ffwll.local> <4F956077.3040103@osadl.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f177.google.com (mail-ey0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A8AB9E70A for ; Mon, 23 Apr 2012 07:21:06 -0700 (PDT) Received: by eaak13 with SMTP id k13so3112449eaa.36 for ; Mon, 23 Apr 2012 07:21:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4F956077.3040103@osadl.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Carsten Emde Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Mon, Apr 23, 2012 at 04:00:23PM +0200, Carsten Emde wrote: > # intel_reg_write 0x61250 0x80000000 > Value before: 0xE0000000 > Value after: 0x80000000 > # intel_reg_read 0x61254 > 0x61254 : 0xB4A0B4A > > # intel_reg_write 0x61250 0xa0000000 > Value before: 0x80000000 > Value after: 0xA0000000 > # intel_reg_read 0x61254 > 0x61254 : 0xB4A0B4A > > # intel_reg_write 0x61250 0x90000000 > Value before: 0xA0000000 > Value after: 0x90000000 > # intel_reg_read 0x61254 > 0x61254 : 0xB4A0B4A > > # intel_reg_write 0x61250 0xb0000000 > Value before: 0x90000000 > Value after: 0xB0000000 > # intel_reg_read 0x61254 > 0x61254 : 0xB4A0B4A > > Not much. The idea was to boot with kms and see whether any of these values would restore the backlight. Writing to CTL1 should change anything in CTL2. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48