Helper to free backing pages for a gem object
void drm_gem_put_pages(struct drm_gem_object * obj, struct page ** pages, bool dirty, bool accessed);
obj
obj in question
pages
pages to free
dirty
if true, pages will be marked as dirty
accessed
if true, the pages will be marked as accessed
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place