Re: i915: wrong framebuffer size in 2.6.36-rc3



On Mon, 2010-08-30 at 12:57 +0300, Pekka Enberg wrote:
On Mon, Aug 30, 2010 at 12:36 PM, Sven Joachim <svenjoac@xxxxxx> wrote:
On my laptop which has a 1280x800 display, only the upper left 848x480
pixels are used on the console in 2.6.36-rc3. The resolution is
correct, but /sys/class/graphics/fb0/modes looks like this:

U:848x480p-0

This is a regression from 2.6.35. The graphics card according to lspci:

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)

Yeah, you're not alone on this:

http://lkml.org/lkml/2010/8/23/452
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


If that's the only problem you have then revert this commit:


commit
9559fcdbff4f93d29af04478bbc48294519424f5


drm/i915: fix vblank wait test condition

When converting this to the new wait_for macro I inverted the wait
condition, which causes all sorts of problems. So correct it to fix
several failures caused by the bad wait (flickering, bad output
detection, tearing, etc.).

Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Tested-by: Sitsofe Wheeler <sitsofe@xxxxxxxxx>
Signed-off-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9559fcdbff4f93d29af04478bbc48294519424f5


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: i915: wrong framebuffer size in 2.6.36-rc3
    ... pixels are used on the console in 2.6.36-rc3. ...  The graphics card according to lspci: ... 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, ... fix vblank wait test condition ...
    (Linux-Kernel)
  • Re: [RFT] Port 0x80 I/O speed
    ... Please read the FAQ at http://www.tux.org/lkml/ ... I should have added the lspci to the list of information. ... kernel version is latest 2.4 kernel. ... 00:0b.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro ...
    (Linux-Kernel)
  • x11 intel graphics card conf
    ... I am running debian squeeze on a PC with intel i5 and graphics card: ... VGA compatible controller: Intel Corporation Sandy Bridge Integrated ... x11 freezes if I go to console and back to x11 or when we switch ...
    (Debian-User)
  • x11 graphics card conf
    ... I am running debian squeeze on a PC with intel i5 and graphics card: ... VGA compatible controller: Intel Corporation Sandy Bridge Integrated ... x11 freezes if I go to console and back to x11 or when we switch ...
    (Debian-User)
  • Re: i915: wrong framebuffer size in 2.6.36-rc3
    ... This is a regression from 2.6.35. ...  The graphics card according to lspci: ... 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, ...
    (Linux-Kernel)