On 31 August 2017 at 06:58, Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxx> wrote: > @@ -321,7 +322,13 @@ static void generate_fb(data_t *data, struct igt_fb *fb, > int ccs_height = ALIGN(height, 16) / 16; > f.pitches[1] = ALIGN(ccs_width * 1, 128); > f.modifier[1] = modifier; > - f.offsets[1] = size[0]; > + > + if (data->flags & TEST_BAD_CCS_OFFSET) { > + /* Overlap CCS buffer with the color buffer. */ > + f.offsets[1] = 0; How about size[0] - 1024? That will give us an aligned-to-128 value which looks plausible, and should overlap actual colour data. Cheers, Daniel _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx