[PATCH 30/32] drm: Nuke fb->depth

2016-11-17 Thread Laurent Pinchart
Hi Ville, Thank you for the patch. On Thursday 17 Nov 2016 18:14:29 ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Replace uses of fb->depth with fb->format->depth. Less duplicate > information is a good thing. > > @@ > struct drm_framebuffer *fb; > expression E1, E2; > @@

[PATCH 30/32] drm: Nuke fb->depth

2016-11-17 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Replace uses of fb->depth with fb->format->depth. Less duplicate information is a good thing. @@ struct drm_framebuffer *fb; expression E1, E2; @@ drm_helper_mode_fill_fb_struct(...) { ... - fb->depth = E1; ... } @@ struct vmw_framebuffer_surface *v