summaryrefslogtreecommitdiff
path: root/tests/kms_psr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_psr.c')
-rw-r--r--tests/kms_psr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_psr.c b/tests/kms_psr.c
index d00e552f..20b69892 100644
--- a/tests/kms_psr.c
+++ b/tests/kms_psr.c
@@ -191,7 +191,7 @@ static void fill_render(data_t *data, uint32_t handle, unsigned char color)
static bool sink_support(data_t *data)
{
- char buf[512];
+ char buf[PSR_STATUS_MAX_LEN];
igt_debugfs_simple_read(data->debugfs_fd, "i915_edp_psr_status",
buf, sizeof(buf));