[igt-dev] [PATCH i-g-t, v3, 2/2] tests/kms_cursor_crc.c: Remove framebuffer at the end of the test
Rodrigo Siqueira
rodrigosiqueiramelo at gmail.com
Sun Feb 3 20:25:19 UTC 2019
On 02/03, Mamta Shukla wrote:
> Use igt_remove_fb(data->drm_fd, &data->fb) to remove locally
> created framebuffer at the end of the hardware test loop in
> test_cursor_size() function for cursor-size-change subtest in
> kms_cursor_crc.
>
> Signed-off-by: Mamta Shukla <mamtashukla555 at gmail.com>
> Reviewed-by: Harry Wentland <harry.wentland at amd.com>
> ---
> No changes in v2
>
> changes in v3:
> -Modify commit message
>
> tests/kms_cursor_crc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
> index 144b44b0..fd74fda5 100644
> --- a/tests/kms_cursor_crc.c
> +++ b/tests/kms_cursor_crc.c
> @@ -583,6 +583,7 @@ static void test_cursor_size(data_t *data)
> igt_pipe_crc_collect_crc(pipe_crc, &crc[i]);
> }
> cursor_disable(data);
> + igt_remove_fb(data->drm_fd, &data->fb);
> /* Software test loop */
> for (i = 0, size = cursor_max_size; size >= 64; size /= 2, i++) {
> /* Now render the same in software and collect crc */
> --
> 2.17.1
>
Reviewed-by: Rodrigo Siqueira <rodrigosiqueiramelo at gmail.com>
--
Rodrigo Siqueira
https://siqueira.tech
Graduate Student
Department of Computer Science
University of São Paulo
-------------- 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/20190203/027f7f0e/attachment.sig>
More information about the igt-dev
mailing list