[PATCH i-g-t] lib/igt_fb: change comments with fd description

0 views
Skip to first unread message

Melissa Wen

unread,
Mar 30, 2020, 5:56:44 PM3/30/20
to inte...@lists.freedesktop.org, kerne...@googlegroups.com
Generalize description of fd since it is not restricted to i915 driver fd

Signed-off-by: Melissa Wen <melis...@gmail.com>
---
lib/igt_fb.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 0c4fdc5d..0fb8db12 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -1635,7 +1635,7 @@ igt_create_fb_with_bo_size(int fd, int width, int height,

/**
* igt_create_fb:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
* @width: width of the framebuffer in pixel
* @height: height of the framebuffer in pixel
* @format: drm fourcc pixel format code
@@ -1663,7 +1663,7 @@ unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,

/**
* igt_create_color_fb:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
* @width: width of the framebuffer in pixel
* @height: height of the framebuffer in pixel
* @format: drm fourcc pixel format code
@@ -1704,7 +1704,7 @@ unsigned int igt_create_color_fb(int fd, int width, int height,

/**
* igt_create_pattern_fb:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
* @width: width of the framebuffer in pixel
* @height: height of the framebuffer in pixel
* @format: drm fourcc pixel format code
@@ -1741,7 +1741,7 @@ unsigned int igt_create_pattern_fb(int fd, int width, int height,

/**
* igt_create_color_pattern_fb:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
* @width: width of the framebuffer in pixel
* @height: height of the framebuffer in pixel
* @format: drm fourcc pixel format code
@@ -1784,7 +1784,7 @@ unsigned int igt_create_color_pattern_fb(int fd, int width, int height,

/**
* igt_create_image_fb:
- * @drm_fd: open i915 drm file descriptor
+ * @drm_fd: open drm file descriptor
* @width: width of the framebuffer in pixel or 0
* @height: height of the framebuffer in pixel or 0
* @format: drm fourcc pixel format code
--
2.25.1

Petri Latvala

unread,
Mar 31, 2020, 5:45:41 AM3/31/20
to Melissa Wen, inte...@lists.freedesktop.org, kerne...@googlegroups.com
On Mon, Mar 30, 2020 at 06:56:36PM -0300, Melissa Wen wrote:
> Generalize description of fd since it is not restricted to i915 driver fd
>
> Signed-off-by: Melissa Wen <melis...@gmail.com>

Reviewed-by: Petri Latvala <petri....@intel.com>


Please send future IGT patches to igt...@lists.freedesktop.org
please.

Reply all
Reply to author
Forward
0 new messages