[PATCH 10/15] drm: omapdrm: gem: Free the correct memory object

2015-12-14 Thread Laurent Pinchart
Hi Tomi, On Monday 14 December 2015 13:45:44 Tomi Valkeinen wrote: > On 05/12/15 00:27, Laurent Pinchart wrote: > > The GEM object free handler frees memory allocated by the driver using > > the pointer to the drm_gem_object instead of the pointer to the > > omap_gem_object that embeds it. This do

[PATCH 10/15] drm: omapdrm: gem: Free the correct memory object

2015-12-14 Thread Tomi Valkeinen
On 05/12/15 00:27, Laurent Pinchart wrote: > The GEM object free handler frees memory allocated by the driver using > the pointer to the drm_gem_object instead of the pointer to the > omap_gem_object that embeds it. This doesn't cause any issue in practice > as the drm_gem_object is the first fie

[PATCH 10/15] drm: omapdrm: gem: Free the correct memory object

2015-12-05 Thread Laurent Pinchart
The GEM object free handler frees memory allocated by the driver using the pointer to the drm_gem_object instead of the pointer to the omap_gem_object that embeds it. This doesn't cause any issue in practice as the drm_gem_object is the first field of omap_gem_object, but would cause memory corrupt