On Mon, Jun 03, 2013 at 11:08:30AM +0100, Chris Wilson wrote: > On Fri, May 31, 2013 at 08:07:05PM +0300, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrj?l? <ville.syrjala at linux.intel.com> > > > > 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 first member inside intel_fbdev. > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
- [Intel-gfx] [PATCH v2 1/7] drm: Add fb_... Chris Wilson
- [PATCH 2/7] drm: Add drm_plane_force_disable... ville.syrj...@linux.intel.com
- [PATCH v2 3/7] drm/i915: Fix fbdev sprite di... ville.syrj...@linux.intel.com
- [PATCH v2 3/7] drm/i915: Fix fbdev spri... Chris Wilson
- [Intel-gfx] [PATCH v2 3/7] drm/i915: Fi... Daniel Vetter
- [Intel-gfx] [PATCH v2 3/7] drm/i915... Ville Syrjälä
- [PATCH v2 4/7] drm/i915: Use a custom restor... ville.syrj...@linux.intel.com
- [PATCH v2 4/7] drm/i915: Use a custom r... Chris Wilson
- [PATCH 5/7] drm/i915: Use container_of() in ... ville.syrj...@linux.intel.com
- [PATCH 5/7] drm/i915: Use container_of(... Chris Wilson
- [Intel-gfx] [PATCH 5/7] drm/i915: U... Daniel Vetter
- [PATCH 6/7] drm/i915: s/drm_i915_private_t/s... ville.syrj...@linux.intel.com
- [Intel-gfx] [PATCH 6/7] drm/i915: s/drm... Chris Wilson
- [Intel-gfx] [PATCH 6/7] drm/i915: s... Daniel Vetter
- [PATCH v2 7/7] drm: Remove some unused stuff... ville.syrj...@linux.intel.com