[Intel-gfx] [PATCH i-g-t 1/3] lib: add missing documentation for drm open functions

Thomas Wood thomas.wood at intel.com
Tue Dec 1 09:49:14 PST 2015


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

diff --git a/lib/drmtest.c b/lib/drmtest.c
index 16a3638..2896af0 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -225,11 +225,10 @@ int drm_get_card(void)
 
 /**
  * __drm_open_driver:
+ * @chipset: OR'd flags for each chipset to search, eg. #DRIVER_INTEL
  *
  * Open the first DRM device we can find, searching up to 16 device nodes
  *
- * @chipset: OR'd flags for each chipset to search, eg. DRIVER_INTEL
- *
  * Returns:
  * An open DRM fd or -1 on error
  */
@@ -313,6 +312,7 @@ static void quiescent_gpu_at_exit_render(int sig)
 
 /**
  * drm_open_driver:
+ * @chipset: OR'd flags for each chipset to search, eg. #DRIVER_INTEL
  *
  * Open a drm legacy device node. This function always returns a valid
  * file descriptor.
@@ -340,6 +340,7 @@ int drm_open_driver(int chipset)
 
 /**
  * drm_open_driver_master:
+ * @chipset: OR'd flags for each chipset to search, eg. #DRIVER_INTEL
  *
  * Open a drm legacy device node and ensure that it is drm master.
  *
@@ -359,6 +360,7 @@ int drm_open_driver_master(int chipset)
 
 /**
  * drm_open_driver_render:
+ * @chipset: OR'd flags for each chipset to search, eg. #DRIVER_INTEL
  *
  * Open a drm render device node.
  *
-- 
1.9.1



More information about the Intel-gfx mailing list