Date: Wed, 11 Feb 2015 12:42:20 -0500 From: Ian FREISLICH <ianf@capeaugusta.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Ian FREISLICH <ianf@capeaugusta.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: r277959 breaks X display on IvyBridge mobile GT2 IG Message-ID: <E1YLbIq-0000JH-3i@clue.co.za> In-Reply-To: <CAJ-Vmo=aiXAdm%2B%2B9B=VW9muoqFjKSizLayvNMN0ZpV4eyxEK0w@mail.gmail.com> References: <CAJ-Vmo=aiXAdm%2B%2B9B=VW9muoqFjKSizLayvNMN0ZpV4eyxEK0w@mail.gmail.com> <E1YLZQ5-000GX8-Pk@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd wrote: > Hi, > = > There's a "invert backlight" option in i915, try setting it to 1? This is pretty much all I could find (unless I was looking in the wrong place). It makes no difference. The backlight appears to be disabled. Index: intel_display.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- intel_display.c (revision 278584) +++ intel_display.c (working copy) @@ -6938,6 +6938,9 @@ = /* Acer Aspire 5734Z must invert backlight brightness */ { 0x2a42, 0x1025, 0x0459, quirk_invert_brightness }, + + /* Asus Zenbook UX31A must invert backlight brightness */ + { 0x0166, 0x1043, 0x1517, quirk_invert_brightness }, }; = static void intel_init_quirks(struct drm_device *dev) Resulting log message: Feb 11 11:55:38 zen kernel: info: [drm] applying inverted panel brightness= quirk The flag removed by r278584 is BLM_PCH_OVERRIDE_ENABLE according to the Linux driver. I think we're not correctly setting or selecting the PWM channel for backlight control. > = > -a > = > = > On 11 February 2015 at 07:41, Ian FREISLICH <ianf@capeaugusta.com> wrote= : > > Hi > > > > With this commit my display blanks and never lights up when X starts. > > > > [zen] /usr/src # svn diff -r 277958:277959 > > Index: sys/dev/drm2/i915/intel_display.c > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > --- sys/dev/drm2/i915/intel_display.c (revision 277958) > > +++ sys/dev/drm2/i915/intel_display.c (revision 277959) > > @@ -6995,7 +6995,7 @@ > > */ > > I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE); > > I915_WRITE(BLC_PWM_CPU_CTL, 0); > > - I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30)); > > + I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE); > > } > > > > void intel_modeset_init_hw(struct drm_device *dev) > > > > > > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x15171043 chip=3D0x01= 668086 rev=3D 0x09 > > hdr=3D0x00 > > vendor =3D 'Intel Corporation' > > device =3D '3rd Gen Core processor Graphics Controller' > > class =3D display > > subclass =3D VGA > > cap 05[90] =3D MSI supports 1 message enabled with 1 message > > cap 01[d0] =3D powerspec 2 supports D0 D3 current D0 > > cap 13[a4] =3D PCI Advanced Features: FLR TP > > > > Ian > > > > -- > > Ian Freislich > > _______________________________________________ > > 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" -- = Meditating Guru Ian Freislich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1YLbIq-0000JH-3i>