mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 16:56:35 +00:00
kms_pipe_crc_basic: Add a bit a debugging output
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
017f146c57
commit
089e8d0a6b
@ -127,8 +127,13 @@ test_read_crc_for_output(data_t *data, int pipe, igt_output_t *output,
|
|||||||
int c, j;
|
int c, j;
|
||||||
|
|
||||||
for (c = 0; c < ARRAY_SIZE(colors); c++) {
|
for (c = 0; c < ARRAY_SIZE(colors); c++) {
|
||||||
|
char *crc_str;
|
||||||
|
|
||||||
igt_output_set_pipe(output, pipe);
|
igt_output_set_pipe(output, pipe);
|
||||||
|
|
||||||
|
igt_debug("Clearing the fb with color (%.02lf,%.02lf,%.02lf)\n",
|
||||||
|
colors[c].r, colors[c].g, colors[c].b);
|
||||||
|
|
||||||
mode = igt_output_get_mode(output);
|
mode = igt_output_get_mode(output);
|
||||||
igt_create_color_fb(data->drm_fd,
|
igt_create_color_fb(data->drm_fd,
|
||||||
mode->hdisplay, mode->vdisplay,
|
mode->hdisplay, mode->vdisplay,
|
||||||
@ -162,6 +167,10 @@ test_read_crc_for_output(data_t *data, int pipe, igt_output_t *output,
|
|||||||
*/
|
*/
|
||||||
colors[c].crc = crcs[0];
|
colors[c].crc = crcs[0];
|
||||||
|
|
||||||
|
crc_str = igt_crc_to_string(&crcs[0]);
|
||||||
|
igt_debug("CRC for this fb: %s\n", crc_str);
|
||||||
|
free(crc_str);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* make sure the CRC of this fb is different from the ones of
|
* make sure the CRC of this fb is different from the ones of
|
||||||
* previous fbs
|
* previous fbs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user