[Intel-gfx] [PATCH] drm/i915: Free the imported shmemfs file for phys objects

Matthew Auld matthew.auld at intel.com
Fri Aug 9 11:11:41 UTC 2019


On 09/08/2019 12:07, Chris Wilson wrote:
> Matthew spotted that we lost the fput() for phys objects now that we are
> not relying on the core to cleanup the GEM object. (For the record, phys
> objects import the shmemfs from their original set of pages and keep it
> to provide swap space, but we never transform back into a shmem object.)
> 
> Reported-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Fixes: 0c159ffef628 ("drm/i915/gem: Defer obj->base.resv fini until RCU callback")
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>



More information about the Intel-gfx mailing list