[PATCH v2 19/37] drm: Store a pointer to drm_format_info under drm_framebuffer

2016-11-19 Thread Laurent Pinchart
Hi Ville, Thank you for the patch. On Friday 18 Nov 2016 21:52:55 ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > To avoid having to look up the format information struct every time, > let's just store a pointer to it under drm_framebuffer. > > v2: Don't populate the fb->fo

[PATCH v2 19/37] drm: Store a pointer to drm_format_info under drm_framebuffer

2016-11-18 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä To avoid having to look up the format information struct every time, let's just store a pointer to it under drm_framebuffer. v2: Don't populate the fb->format pointer in drm_framebuffer_init(). instead we'll treat a NULL format as an error later Cc: Laurent Pinchart S