From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/2] lib/igt_matrix: Fix up some docs
Date: Thu, 7 Mar 2019 23:42:16 +0200 [thread overview]
Message-ID: <20190307214216.18568-2-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20190307214216.18568-1-ville.syrjala@linux.intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Add some missing documentation.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
lib/igt_matrix.c | 8 ++++++++
lib/igt_matrix.h | 2 ++
2 files changed, 10 insertions(+)
diff --git a/lib/igt_matrix.c b/lib/igt_matrix.c
index 35a9c321defd..6ba59d47dc4b 100644
--- a/lib/igt_matrix.c
+++ b/lib/igt_matrix.c
@@ -71,6 +71,9 @@ struct igt_mat4 igt_matrix_identity(void)
/**
* igt_matrix_scale:
+ * @x: x scaling amount
+ * @y: y scaling amount
+ * @z: z scaling amount
*
* Returns:
* An scaling matrix.
@@ -89,6 +92,9 @@ struct igt_mat4 igt_matrix_scale(float x, float y, float z)
/**
* igt_matrix_translate:
+ * @x: x translation amount
+ * @y: y translation amount
+ * @z: z translation amount
*
* Returns:
* A translation matrix.
@@ -110,6 +116,8 @@ struct igt_mat4 igt_matrix_translate(float x, float y, float z)
/**
* igt_matrix_multiply:
+ * @a: Left matrix
+ * @b: Right matrix
*
* Multiply two matrices together. @a is on the left,
* @b on the right.
diff --git a/lib/igt_matrix.h b/lib/igt_matrix.h
index 7a2b9ad8b573..a56170a20413 100644
--- a/lib/igt_matrix.h
+++ b/lib/igt_matrix.h
@@ -55,6 +55,8 @@ struct igt_mat4 igt_matrix_multiply(const struct igt_mat4 *a,
/**
* igt_matrix_transform:
+ * @m: The matrix
+ * @v: The vector
*
* Transform the vector @v by the matrix @m. @m is on the left,
* @v on the right.
--
2.19.2
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-03-07 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 21:42 [igt-dev] [PATCH i-g-t 1/2] lib/igt_kms: Fix docs for igt_enable_connectors() Ville Syrjala
2019-03-07 21:42 ` Ville Syrjala [this message]
2019-03-07 21:55 ` [igt-dev] [PATCH i-g-t 2/2] lib/igt_matrix: Fix up some docs Chris Wilson
2019-03-07 21:54 ` [igt-dev] [PATCH i-g-t 1/2] lib/igt_kms: Fix docs for igt_enable_connectors() Chris Wilson
2019-03-08 2:29 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2019-03-08 6:54 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190307214216.18568-2-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox