diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-15 10:28:00 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-15 10:28:00 +0000 |
commit | 5df7147b0934dadc63459c2c0f33e0663692425a (patch) | |
tree | 7feb1befe3328b1ac4591eebf4750d8c68562b5a | |
parent | be53740c6f0bb182e3d88f0597f127732c839316 (diff) |
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>
-rw-r--r-- | src/sna/kgem.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 830a2ba1..32d3fa0a 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -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) |