[Intel-gfx] [PATCH] drm/i915: Convert pxvid to extvid lookup table to a function

Daniel Vetter daniel at ffwll.ch
Mon Dec 1 08:49:04 PST 2014


On Mon, Dec 01, 2014 at 06:01:05PM +0200, Mika Kuoppala wrote:
> From: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> 
> The conversion table can be replaced with simple enough function.
> 
>    text	   data	    bss	    dec	    hex	filename
>  839688	  10987	     24	 850699	  cfb0b	drivers/gpu/drm/i915/i915.ko
>  839224	  10987	     24	 850235	  cf93b	drivers/gpu/drm/i915/i915.ko
> 
> Result is 494 saved bytes (.05525%).
> 
> v2: - no run on sentences from subject (Chris, Jani)
>     - be verbose about the savings (Chris, Daniel)
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com> (v1)
> Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>

Updated the patch, thanks for the revised commit message.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list