[Intel-gfx] [PATCH 2/5] tests/kms_psr_sink_crc: Make render visible to human eyes
Rodrigo Vivi
rodrigo.vivi at intel.com
Fri Dec 5 17:14:21 PST 2014
This will allow manual tests when crc isn't available.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
tests/kms_psr_sink_crc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index ad440a8..892bba6 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -139,7 +139,7 @@ static void scratch_buf_init(struct igt_buf *buf, drm_intel_bo *bo)
buf->bo = bo;
buf->stride = 4096;
buf->tiling = I915_TILING_X;
- buf->size = 4096;
+ buf->size = 4;
}
static void fill_render(data_t *data, uint32_t handle, unsigned char color)
@@ -167,7 +167,7 @@ static void fill_render(data_t *data, uint32_t handle, unsigned char color)
igt_assert(batch);
rendercopy(batch, NULL,
- &src_buf, 0, 0, 1, 1,
+ &src_buf, 0, 0, 0xff, 0xff,
&dst_buf, 0, 0);
intel_batchbuffer_free(batch);
--
1.9.3
More information about the Intel-gfx
mailing list