Linux Kernel
3.7.1
|
#include <drm/drmP.h>
Go to the source code of this file.
Data Structures | |
struct | psb_gtt |
struct | gtt_range |
Functions | |
int | psb_gtt_init (struct drm_device *dev, int resume) |
void | psb_gtt_takedown (struct drm_device *dev) |
struct gtt_range * | psb_gtt_alloc_range (struct drm_device *dev, int len, const char *name, int backed) |
void | psb_gtt_kref_put (struct gtt_range *gt) |
void | psb_gtt_free_range (struct drm_device *dev, struct gtt_range *gt) |
int | psb_gtt_pin (struct gtt_range *gt) |
void | psb_gtt_unpin (struct gtt_range *gt) |
void | psb_gtt_roll (struct drm_device *dev, struct gtt_range *gt, int roll) |
void psb_gtt_free_range | ( | struct drm_device * | dev, |
struct gtt_range * | gt | ||
) |
void psb_gtt_takedown | ( | struct drm_device * | dev | ) |
psb_gtt_unpin - Drop a GTT pin requirement : range to pin
Undoes the effect of psb_gtt_pin. On the last drop the GEM object will be removed from the GTT which will also drop the page references and allow the VM to clean up or page stuff.
Non GEM backed objects treat this as a no-op as they are always GTT backed objects.