[igt-dev] [PATCH i-g-t v2 1/2] lib/igt_fb: change comments with fd description

Melissa Wen melissa.srw at gmail.com
Wed Jul 15 16:49:33 UTC 2020


Generalize description of fd so as not restrict it to i915 driver

Signed-off-by: Melissa Wen <melissa.srw at gmail.com>
---
 lib/igt_fb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index fd33907b..3864b7a1 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -3548,7 +3548,7 @@ cairo_surface_t *igt_get_cairo_surface(int fd, struct igt_fb *fb)
 
 /**
  * igt_get_cairo_ctx:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
  * @fb: pointer to an #igt_fb structure
  *
  * This initializes a cairo surface for @fb and then allocates a drawing context
@@ -3594,7 +3594,7 @@ void igt_put_cairo_ctx(cairo_t *cr)
 
 /**
  * igt_remove_fb:
- * @fd: open i915 drm file descriptor
+ * @fd: open drm file descriptor
  * @fb: pointer to an #igt_fb structure
  *
  * This function releases all resources allocated in igt_create_fb() for @fb.
-- 
2.27.0



More information about the igt-dev mailing list