summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-11-30 16:36:16 +0000
committerThomas Wood <thomas.wood@intel.com>2015-12-02 15:02:52 +0000
commit683316cb886dced1674876f21c782836fe40f9ff (patch)
treeb33b3c2dcab4a34e596ef64d72e08a82deb6a926 /lib/drmtest.c
parent0394844a478e500740389e2cbbf2fdee0c4054c7 (diff)
docs: add missing documentation for drm open functions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 16a3638e..2896af01 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.
*