Re: [Intel-gfx] KMS broken from 2.6.33 up to 2.6.35-rc5????

2010-07-18 Thread Massimo Maggi
Instead of half-solved, I would have written quarter-of-solved! Setting the brightness higher than 0 works ONLY if the notebook was powered by battery (and not if it's on AC) when the brightness went to zero AND when it's reset to a higher number. To sum up: on battery, the trick works. On AC, it

Re: [Intel-gfx] 4500MHD driver crash

2010-07-18 Thread Thomas Fjellstrom
On July 17, 2010, Thomas Fjellstrom wrote: > On July 17, 2010, Thomas Fjellstrom wrote: > > On July 16, 2010, Thomas Fjellstrom wrote: > > > On July 16, 2010, Thomas Fjellstrom wrote: > > > > On July 16, 2010, Paul Menzel wrote: > > > > > Am Freitag, den 16.07.2010, 01:50 -0600 schrieb Thomas Fjell

Re: [Intel-gfx] [PATCH] drm/i915: Selectively enable self-reclaim

2010-07-18 Thread Linus Torvalds
On Sun, Jul 18, 2010 at 7:27 AM, M. Vefa Bicakci wrote: > > After hours of testing I came up with the following result: We need > to have the __GFP_RECLAIMABLE flag in addition to GFP_HIGHUSER. Thanks for the extensive testing, and I'm committing the one-liner to add it, and cc'ing it to stable.

Re: [Intel-gfx] KMS broken from 2.6.33 up to 2.6.35-rc5????

2010-07-18 Thread Massimo Maggi
After 14 builds (never tought that PXE and Core2Quad were so useful!!) the bad commit is: 01c66889c14aa163c49355b3be2ccfb214500599 is the first bad commit commit 01c66889c14aa163c49355b3be2ccfb214500599 Author: Zhao Yakui Date: Wed Oct 28 05:10:00 2009 + drm/i915: Add ACPI OpRegio

Re: [Intel-gfx] KMS broken from 2.6.33 up to 2.6.35-rc5????

2010-07-18 Thread Chris Wilson
On Sun, 18 Jul 2010 14:29:34 +0200, Massimo Maggi wrote: > I've set up a very minimal kernel config (the resulting kernel is not > useful for anything except showing the problem), and built versions: > 2.6.32.16 > 2.6.33.6 > 2.6.34.1 > 2.6.35-rc5 > Only 2.6.32.16 is able to correctly initialize th

[Intel-gfx] KMS broken from 2.6.33 up to 2.6.35-rc5????

2010-07-18 Thread Massimo Maggi
Hi all, I've bought a new HP tm2-2000el with graphics core integrated into i3 - 330UM and a discrete ATI gpu (switchable from driver, at least in windows).I don't care at all about getting the power-hungry ATI GPU working in Linux, I only need the intel GPU . I've started building my kernel (I'm u

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Refactor panel fitting on the LVDS.

2010-07-18 Thread Chris Wilson
On Sat, 17 Jul 2010 18:15:46 -0700, Jesse Barnes wrote: > While you're in there it would also be cool to write a small CRTC mode > verification function that checks the htotal/vtotal/etc against the > constraints documented in the manual (e.g. sync before end, active > divisible by 2 in ganged mo

[Intel-gfx] [PATCH] drm/i915: Refactor panel fitting on the LVDS. (v2)

2010-07-18 Thread Chris Wilson
Move the common routines into separate functions to not only increase readability, but also throwaway surplus code. In doing so, we review the calculation of the aspect preserving scaling and avoid the use of fixed-point until we need to calculate the accurate scale factor. v2: Improve comments a