Re: [Intel-gfx] [PATCH v4] drm: Add struct drm_rect and assorted utility functions

2013-04-08 Thread Ville Syrjälä
On Sat, Apr 06, 2013 at 02:00:31AM +0200, Laurent Pinchart wrote: > Hi Ville, > > Thanks for the patch. > > On Friday 05 April 2013 16:19:36 ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > struct drm_rect represents a simple rectangle. The utility > > functions are there to

Re: [Intel-gfx] [PATCH v4] drm: Add struct drm_rect and assorted utility functions

2013-04-05 Thread Laurent Pinchart
Hi Ville, Thanks for the patch. On Friday 05 April 2013 16:19:36 ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > struct drm_rect represents a simple rectangle. The utility > functions are there to help driver writers. > > v2: Moved the region stuff into its own file, made the sm

[Intel-gfx] [PATCH v4] drm: Add struct drm_rect and assorted utility functions

2013-04-05 Thread ville . syrjala
From: Ville Syrjälä struct drm_rect represents a simple rectangle. The utility functions are there to help driver writers. v2: Moved the region stuff into its own file, made the smaller funcs static inline, used 64bit maths in the scaled clipping function to avoid overflows (instead it w