lib: small documentation fixes

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2015-02-16 11:17:11 +00:00
parent f8fd4c977a
commit a22548fec0
2 changed files with 2 additions and 2 deletions

View File

@ -645,7 +645,7 @@ int __gem_context_destroy(int fd, uint32_t ctx_id)
} }
/** /**
* gem_context_create: * gem_context_destroy:
* @fd: open i915 drm file descriptor * @fd: open i915 drm file descriptor
* @ctx_id: i915 hw context id * @ctx_id: i915 hw context id
* *

View File

@ -74,7 +74,7 @@ void *gem_mmap__wc(int fd, uint32_t handle, int offset, int size, int prot);
* the gtt) write-combine memory mappings are available. Automatically skips * the gtt) write-combine memory mappings are available. Automatically skips
* through igt_require() if not. * through igt_require() if not.
*/ */
#define gem_require_mmap_wc(x) igt_require(gem_mmap__has_wc(x)) #define gem_require_mmap_wc(fd) igt_require(gem_mmap__has_wc(fd))
/** /**
* gem_mmap: * gem_mmap: