Re: [Intel-gfx] [PATCH v3 4/4] drm/i915: Implement proper clipping for video sprites

2013-04-16 Thread Ville Syrjälä
On Tue, Apr 16, 2013 at 02:37:24PM +0100, Chris Wilson wrote: > On Tue, Apr 16, 2013 at 01:47:22PM +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Properly clip the source when the destination gets clipped > > by the pipe dimensions. > > > > Sadly the video sprite har

Re: [Intel-gfx] [PATCH v3 4/4] drm/i915: Implement proper clipping for video sprites

2013-04-16 Thread Chris Wilson
On Tue, Apr 16, 2013 at 01:47:22PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Properly clip the source when the destination gets clipped > by the pipe dimensions. > > Sadly the video sprite hardware is rather limited so it can't do proper > sub-pixel postitioning. Reso

[Intel-gfx] [PATCH v3 4/4] drm/i915: Implement proper clipping for video sprites

2013-04-16 Thread ville . syrjala
From: Ville Syrjälä Properly clip the source when the destination gets clipped by the pipe dimensions. Sadly the video sprite hardware is rather limited so it can't do proper sub-pixel postitioning. Resort to truncating the source coordinates to (macro)pixel boundary. The scaling checks are don

[Intel-gfx] [PATCH v3 4/4] drm/i915: Implement proper clipping for video sprites

2013-03-27 Thread ville . syrjala
From: Ville Syrjälä Properly clip the source when the destination gets clipped by the pipe dimensions. Sadly the video sprite hardware is rather limited so it can't do proper sub-pixel postitioning. Resort to truncating the source coordinates to (macro)pixel boundary. The scaling checks are don