[Intel-gfx] [BUG 3.9.4] pipe_off wait timed out

2013-06-02 Thread Knut Petersen
During booting kernel 3.9.4 on an AOpen i915GMm-hfs, Pentium-M Dothan 2GHz, 2GB RAM system the pipe_off wait timed out warning was triggered. Reproducibility: low, problem was found only once. cu, Knut [ 16.276006] = [ 16.276006] [ INFO:

Re: [Intel-gfx] [PATCH] drm/i915: fix EDID/sink-based bpp clamping

2013-06-02 Thread Chris Wilson
On Sat, Jun 01, 2013 at 11:53:23PM +0200, Daniel Vetter wrote: Since this is run in the compute config stage we need to check the new_ pointers, not the current modeset layout. Also there was a little logic bug in properly skipping connectors. This has been broken when moving the pipe bpp

Re: [Intel-gfx] [PATCH] drm/i915: fix EDID/sink-based bpp clamping

2013-06-02 Thread Daniel Vetter
On Sun, Jun 2, 2013 at 12:09 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Sat, Jun 01, 2013 at 11:53:23PM +0200, Daniel Vetter wrote: Since this is run in the compute config stage we need to check the new_ pointers, not the current modeset layout. Also there was a little logic bug in

[Intel-gfx] [PATCH 1/2] drm/i915: refactor sink bpp clamping

2013-06-02 Thread Daniel Vetter
As a prep work to fix it up: - Use intel_connector instead of drm_connector to avoid too much upcasting in the bugfix patch. - Extract the connector bpp clamping from the loop-over-connectors logic. - Bikeshed function names (to make it clearer that acompute_baseline_pipe_bpp runs in the

[Intel-gfx] [PATCH 2/2] drm/i915: fix EDID/sink-based bpp clamping

2013-06-02 Thread Daniel Vetter
Since this is run in the compute config stage we need to check the new_ pointers, i.e the stage output routing, not the current modeset layout. Also there was a little logic bug in properly skipping connectors: The old code did not skip any unused connectors and so clamped to whatever was left in

[Intel-gfx] [PATCH] drm/i915: optimize vblank waits in set_base_atomic

2013-06-02 Thread Daniel Vetter
We only need to do them if the pipe is actually running and if the framebuffers have changed. Removes two wait for vblank timed out messages when doing a suspend/resume cycle on my i855gm. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/gpu/drm/i915/intel_display.c | 3 ++- 1