[igt-dev] [PATCH i-g-t 1/2] lib/igt_fb: change comments with fd description
Rodrigo Siqueira
Rodrigo.Siqueira at amd.com
Wed Jul 1 16:25:16 UTC 2020
LGTM,
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
On 06/25, Melissa Wen wrote:
> 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 | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> index 5ed586e7..5a219c57 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
> @@ -3578,7 +3578,7 @@ cairo_t *igt_get_cairo_ctx(int fd, struct igt_fb *fb)
>
> /**
> * igt_put_cairo_ctx:
> - * @fd: open i915 drm file descriptor
> + * @fd: open drm file descriptor
> * @fb: pointer to an #igt_fb structure
> * @cr: the cairo context returned by igt_get_cairo_ctx.
> *
> @@ -3596,7 +3596,7 @@ void igt_put_cairo_ctx(int fd, struct igt_fb *fb, 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
>
--
Rodrigo Siqueira
https://siqueira.tech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20200701/6b847f99/attachment.sig>
More information about the igt-dev
mailing list