[Intel-gfx] [PATCH 1/2] drm/i915/dp: Explicitly disable symbol scrambling while training

2011-07-21 Thread Adam Jackson
The DP spec says training patterns 1 and 2 are to be sent non-scrambled, and the GPU docs claim that happens (or at least, there's no explicit scrambling control). But the sink may be confused if we don't explicitly tell it what we're doing, so play it safe. Signed-off-by: Adam Jackson --- driv

[Intel-gfx] [PATCH 2/2] drm/i915/dp: Don't turn CPT DP ports on too early

2011-07-21 Thread Adam Jackson
The docs say the port has to come on in training pattern 1; at this point, though, ->DP is in normal mode. The intent here is to wait until the port is in fact sending data, but that doesn't happen since we've broken the sequence the hardware expects, and the vblank wait will time out and kvetch i

Re: [Intel-gfx] [PATCH 01/10] intel: shared header for shader debugging

2011-07-21 Thread Julien Cristau
On Thu, Jul 21, 2011 at 13:54:41 +, Ben Widawsky wrote: > On Tue, Jul 19, 2011 at 11:06:17PM +0200, Julien Cristau wrote: > > On Wed, Jul 13, 2011 at 13:51:43 -0700, Ben Widawsky wrote: > > > > > +#define SHADER_DEBUG_SOCKET "/tmp/gen_debug" > > > > Not sure what this is used for, but does i

Re: [Intel-gfx] H.264/AVC encode, Intel? HD Graphics 2000/3000, linux

2011-07-21 Thread Brian Brown
Thanks for the replies and status of the snb encoding project. I've asked over at the libva list as well. I have a related xserver-intel snb z68 technical problem that I'm struggling with. Is it appropriate to ask for technical help on this list? I've asked on the ubuntu list but haven't receiv

Re: [Intel-gfx] [RFC] Updated DRM plane handling patches

2011-07-21 Thread Jesse Barnes
On Thu, 21 Jul 2011 19:15:24 +0900 Joonyoung Shim wrote: > Hi, > > 2011/6/16 Jesse Barnes : > > On Tue,  7 Jun 2011 13:07:38 -0700 > > Jesse Barnes wrote: > > > >> This patchset updates the previous one, incorporating the feedback I > >> received: > >>   1) uses the v4l fourcc codes to communic

Re: [Intel-gfx] [PATCH 1/4] drm: add plane support

2011-07-21 Thread Jesse Barnes
On Thu, 21 Jul 2011 19:30:00 +0900 Joonyoung Shim wrote: > Hi, > > simple questions :) > > 2011/6/21 Jesse Barnes : > > Planes are a bit like half-CRTCs.  They have a location and fb, but > > don't drive outputs directly.  Add support for handling them to the core > > KMS code. > > > > Signed-o

[Intel-gfx] [PULL] drm-intel-fixes (drm/i915 driver)

2011-07-21 Thread Keith Packard
Two fairly useful bug fixes: * Quirk for Lenovo U160 to prevent a black-screen when KMS starts up. We've gone round and round trying to make this hardware 'just work', it's time to give up and special case this box. * Fix longstanding regression on old (pre-G33) hardware with tiled buffer

Re: [Intel-gfx] [PATCH 01/10] intel: shared header for shader debugging

2011-07-21 Thread Ben Widawsky
On Tue, Jul 19, 2011 at 11:06:17PM +0200, Julien Cristau wrote: > On Wed, Jul 13, 2011 at 13:51:43 -0700, Ben Widawsky wrote: > > > +#define SHADER_DEBUG_SOCKET "/tmp/gen_debug" > > Not sure what this is used for, but does it really need to be in /tmp? It is the shared socket between a debug cli

Re: [Intel-gfx] [PATCH] drm/i915/pch: Fix integer math bugs in panel fitting

2011-07-21 Thread Chris Wilson
On Wed, 13 Jul 2011 16:32:32 -0400, Adam Jackson wrote: > Consider a 1600x900 panel, upscaling a 1360x768 mode, full-aspect. The > old math would give you: > > scaled_width = 1600 * 768; /* 1228800 */ > scaled_height = 1360 * 900; /* 1224000 */ > if (scaled_width > s