diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-11-21 17:50:27 -0500 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-12-07 21:00:37 -0500 |
commit | 7a45d764a8e3177f0c9cd4a0be9f2ab7965e55cb (patch) | |
tree | d8be83174c23cf30c339e21ea62fca2f565cf144 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | a0fd9b9f68cd7a5952eae3c5b3c5a3bc0eadfd44 (diff) |
drm/nouveau: wrap calls to ttm_bo_validate()
This will be used later to fixup bo.offset with a buffer's fixed GPU
virtual address.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index e82dff4008c9..22abe8579912 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -1285,6 +1285,8 @@ extern void nouveau_bo_wr16(struct nouveau_bo *nvbo, unsigned index, u16 val); | |||
1285 | extern u32 nouveau_bo_rd32(struct nouveau_bo *nvbo, unsigned index); | 1285 | extern u32 nouveau_bo_rd32(struct nouveau_bo *nvbo, unsigned index); |
1286 | extern void nouveau_bo_wr32(struct nouveau_bo *nvbo, unsigned index, u32 val); | 1286 | extern void nouveau_bo_wr32(struct nouveau_bo *nvbo, unsigned index, u32 val); |
1287 | extern void nouveau_bo_fence(struct nouveau_bo *, struct nouveau_fence *); | 1287 | extern void nouveau_bo_fence(struct nouveau_bo *, struct nouveau_fence *); |
1288 | extern int nouveau_bo_validate(struct nouveau_bo *, bool interruptible, | ||
1289 | bool no_wait_reserve, bool no_wait_gpu); | ||
1288 | 1290 | ||
1289 | /* nouveau_fence.c */ | 1291 | /* nouveau_fence.c */ |
1290 | struct nouveau_fence; | 1292 | struct nouveau_fence; |