[PATCH 25/37] drm: Replace drm_format_plane_cpp() with fb->format->cpp[]

2016-11-19 Thread Laurent Pinchart
Hi Ville, Thank you for the patch. On Friday 18 Nov 2016 21:53:01 ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Replace drm_format_plane_cpp(fb->pixel_format) with just > fb->format->cpp[]. Avoids the expensive format info lookup. > > @@ > struct drm_framebuffer *a; >

[PATCH 25/37] drm: Replace drm_format_plane_cpp() with fb->format->cpp[]

2016-11-18 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Replace drm_format_plane_cpp(fb->pixel_format) with just fb->format->cpp[]. Avoids the expensive format info lookup. @@ struct drm_framebuffer *a; struct drm_framebuffer b; expression E; @@ ( - drm_format_plane_cpp(a->pixel_format, E) +