[PATCH 31/37] drm: Nuke fb->depth

2016-11-30 Thread Daniel Vetter
On Fri, Nov 18, 2016 at 09:53:07PM +0200, 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; > @@ > drm_helper_mode_fill_fb

[PATCH 31/37] drm: Nuke fb->depth

2016-11-18 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