[Intel-gfx] [PATCH i-g-t 1/3] lib: fix symbol names in documentation comments

Thomas Wood thomas.wood at intel.com
Tue Nov 25 17:26:24 CET 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 lib/drmtest.c           | 2 +-
 lib/igt_core.h          | 2 +-
 lib/intel_batchbuffer.c | 4 ++--
 lib/ioctl_wrappers.c    | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/drmtest.c b/lib/drmtest.c
index 3d828e1..813c315 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -344,7 +344,7 @@ int drm_open_any_master(void)
 }
 
 /**
- * drm_open_any:
+ * drm_open_any_render:
  *
  * Open an i915 drm render device node.
  *
diff --git a/lib/igt_core.h b/lib/igt_core.h
index 846f599..a258348 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -263,7 +263,7 @@ void igt_exit(void) __attribute__((noreturn));
 #define igt_fail_on(expr) igt_assert(!(expr))
 
 /**
- * igt_assert_f:
+ * igt_fail_on_f:
  * @expr: condition to test
  * @...: format string and optional arguments
  *
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index c1b0e3d..30ef2cf 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -86,7 +86,7 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch)
 }
 
 /**
- * intel_batchbuffer_reset:
+ * intel_batchbuffer_alloc:
  * @bufmgr: libdrm buffer manager
  * @devid: pci device id of the drm device
  *
@@ -109,7 +109,7 @@ intel_batchbuffer_alloc(drm_intel_bufmgr *bufmgr, uint32_t devid)
 }
 
 /**
- * intel_batchbuffer_reset:
+ * intel_batchbuffer_free:
  * @batch: batchbuffer object
  *
  * Releases all resource of the batchbuffer object @batch.
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index f423237..56280b6 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -620,7 +620,7 @@ bool gem_uses_aliasing_ppgtt(int fd)
 }
 
 /**
- * gem_uses_aliasing_ppgtt:
+ * gem_available_fences:
  * @fd: open i915 drm file descriptor
  *
  * Feature test macro to query the kernel for the number of available fences
@@ -811,7 +811,7 @@ uint64_t gem_aperture_size(int fd)
 }
 
 /**
- * gem_aperture_size:
+ * gem_mappable_aperture_size:
  * @fd: open i915 drm file descriptor
  *
  * Feature test macro to query the kernel for the mappable gpu aperture size.
-- 
2.1.0




More information about the Intel-gfx mailing list