sna: Restore the kgem_create_map() symbol

As the stub is exported to the driver even in the absence of vmapping.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-01-15 10:28:00 +00:00
parent be53740c6f
commit 5df7147b09
1 changed files with 7 additions and 0 deletions

View File

@ -2775,6 +2775,13 @@ struct kgem_bo *kgem_create_map(struct kgem *kgem,
__FUNCTION__, ptr, size, read_only, handle));
return bo;
}
#else
struct kgem_bo *kgem_create_map(struct kgem *kgem,
void *ptr, uint32_t size,
bool read_only)
{
return 0;
}
#endif
void kgem_bo_sync__cpu(struct kgem *kgem, struct kgem_bo *bo)