Re: [Intel-gfx] [PATCH 5/7] drm/i915: Use container_of() in the fbdev code

2013-06-03 Thread Daniel Vetter
On Mon, Jun 03, 2013 at 11:08:30AM +0100, Chris Wilson wrote: > On Fri, May 31, 2013 at 08:07:05PM +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Use container_of() instead of a cast to get struct intel_fbdev > > from struct drm_fb_helper. > > > > Also populate the f

Re: [Intel-gfx] [PATCH 5/7] drm/i915: Use container_of() in the fbdev code

2013-06-03 Thread Chris Wilson
On Fri, May 31, 2013 at 08:07:05PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Use container_of() instead of a cast to get struct intel_fbdev > from struct drm_fb_helper. > > Also populate the fb_info->par correctly with the drm_fb_helper pointer > instead of the intel_

[Intel-gfx] [PATCH 5/7] drm/i915: Use container_of() in the fbdev code

2013-05-31 Thread ville . syrjala
From: Ville Syrjälä Use container_of() instead of a cast to get struct intel_fbdev from struct drm_fb_helper. Also populate the fb_info->par correctly with the drm_fb_helper pointer instead of the intel_fbdev pointer. There's no actual functional change since the drm_fb_helper happens to be the

[Intel-gfx] [PATCH 5/7] drm/i915: Use container_of() in the fbdev code

2013-05-08 Thread ville . syrjala
From: Ville Syrjälä Use container_of() instead of a cast to get struct intel_fbdev from struct drm_fb_helper. Also populate the fb_info->par correctly with the drm_fb_helper pointer instead of the intel_fbdev pointer. There's no actual functional change since the drm_fb_helper happens to be the