---
name: "drm_gem_put_pages"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_gem_put_pages"
---

# drm\_gem\_put\_pages(9)

helper to free backing pages for a GEM object

## NAME

drm\_gem\_put\_pages - helper to free backing pages for a GEM object

## SYNOPSIS

**void drm\_gem\_put\_pages(struct drm\_gem\_object \*** *obj***, struct page \*\*** *pages***, bool** *dirty***, bool** *accessed***);**

## ARGUMENTS

*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

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
