#include "gem.h"
#include "psb_drv.h"
int psb_gtt_allocate_resource(struct drm_psb_private *pdev, struct resource *res,
const char *name, resource_size_t size, resource_size_t align,
bool stolen, u32 *offset)
{ … }
uint32_t psb_gtt_mask_pte(uint32_t pfn, int type)
{ … }
static u32 __iomem *psb_gtt_entry(struct drm_psb_private *pdev, const struct resource *res)
{ … }
void psb_gtt_insert_pages(struct drm_psb_private *pdev, const struct resource *res,
struct page **pages)
{ … }
void psb_gtt_remove_pages(struct drm_psb_private *pdev, const struct resource *res)
{ … }
static int psb_gtt_enable(struct drm_psb_private *dev_priv)
{ … }
static void psb_gtt_disable(struct drm_psb_private *dev_priv)
{ … }
void psb_gtt_fini(struct drm_device *dev)
{ … }
static void psb_gtt_clear(struct drm_psb_private *pdev)
{ … }
static void psb_gtt_init_ranges(struct drm_psb_private *dev_priv)
{ … }
int psb_gtt_init(struct drm_device *dev)
{ … }
int psb_gtt_resume(struct drm_device *dev)
{ … }