Re: [Intel-gfx] 4500MHD driver crash

2010-07-17 Thread Thomas Fjellstrom
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 Fjellstrom: I've been having this little problem with the intel-gfx driver for a couple months at least.

[Intel-gfx] [PATCH 1/2] drm/i915: Remove the redundant check for a fixed_panel_mode

2010-07-17 Thread Chris Wilson
We already checked just a couple of lines above that we have found a fixed_panel_mode for the LVDS, so remove the surplus check. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- drivers/gpu/drm/i915/intel_lvds.c | 32 +++- 1 files changed, 15 insertions(+),

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

2010-07-17 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. 1 files changed, 128

[Intel-gfx] [PATCH 2/2] drm/i915: Remove extraneous variables from intel_crtc_page_flip()

2010-07-17 Thread Chris Wilson
Reduce the number of variables used and improve readability by scoping. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- drivers/gpu/drm/i915/intel_display.c | 31 +++ 1 files changed, 15 insertions(+), 16 deletions(-) diff --git

Re: [Intel-gfx] 4500MHD driver crash

2010-07-17 Thread Thomas Fjellstrom
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 Fjellstrom: I've been having this little problem with the

Re: [Intel-gfx] [PATCH 1/2] drm: Return EBUSY if the framebuffer is unbound when flipping.

2010-07-17 Thread Jesse Barnes
On Sat, 17 Jul 2010 20:23:26 +0100 Chris Wilson ch...@chris-wilson.co.uk wrote: It looks like there is a race condition between unbinding a framebuffer on a hotplug event and user space trying to flip: Nice, yeah that would definitely be a problem. Alternately we could solder everyone's

Re: [Intel-gfx] [PATCH] drm/i915: Fix panel fitting regression since 734b4157

2010-07-17 Thread Jesse Barnes
On Sat, 17 Jul 2010 12:46:08 +0100 Chris Wilson ch...@chris-wilson.co.uk wrote: The crtc mode fixup is run after the encoders adjust the mode to fit on their output, so don't reset the mode! Fixes: Bug 29057 - display corruption under 800x600 on netbook (1024x600) with

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

2010-07-17 Thread Jesse Barnes
On Sat, 17 Jul 2010 13:38:44 +0100 Chris Wilson ch...@chris-wilson.co.uk wrote: 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