mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
kms_plane: Add a debug message when grabbing the CRC of a colored fb
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
b5333b416f
commit
8d60b8267e
@ -69,6 +69,7 @@ test_grab_crc(data_t *data, igt_output_t *output, color_t *fb_color,
|
|||||||
struct igt_fb fb;
|
struct igt_fb fb;
|
||||||
drmModeModeInfo *mode;
|
drmModeModeInfo *mode;
|
||||||
igt_plane_t *primary;
|
igt_plane_t *primary;
|
||||||
|
char *crc_str;
|
||||||
|
|
||||||
primary = igt_output_get_plane(output, 0);
|
primary = igt_output_get_plane(output, 0);
|
||||||
|
|
||||||
@ -88,6 +89,11 @@ test_grab_crc(data_t *data, igt_output_t *output, color_t *fb_color,
|
|||||||
igt_display_commit(&data->display);
|
igt_display_commit(&data->display);
|
||||||
|
|
||||||
igt_remove_fb(data->drm_fd, &fb);
|
igt_remove_fb(data->drm_fd, &fb);
|
||||||
|
|
||||||
|
crc_str = igt_crc_to_string(crc);
|
||||||
|
igt_debug("CRC for a (%.02f,%.02f,%.02f) fb: %s\n", fb_color->red,
|
||||||
|
fb_color->green, fb_color->blue, crc_str);
|
||||||
|
free(crc_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user