[igt-dev] [v3 4/4] tests/i915/kms_dsc_helper: Improve format string
Swati Sharma
swati2.sharma at intel.com
Thu Jan 19 09:25:30 UTC 2023
Make format string more specific.
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
tests/i915/kms_dsc_helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/i915/kms_dsc_helper.c b/tests/i915/kms_dsc_helper.c
index 535061a74..a80f3d787 100644
--- a/tests/i915/kms_dsc_helper.c
+++ b/tests/i915/kms_dsc_helper.c
@@ -14,7 +14,7 @@ void force_dsc_enable(int drmfd, igt_output_t *output)
igt_debug("Forcing DSC enable on %s\n", output->name);
ret = igt_force_dsc_enable(drmfd, output->name);
- igt_assert_f(ret > 0, "debugfs_write failed");
+ igt_assert_f(ret > 0, "forcing dsc enable debugfs_write failed\n");
}
void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc)
@@ -24,7 +24,7 @@ void force_dsc_enable_bpc(int drmfd, igt_output_t *output, int input_bpc)
igt_debug("Forcing input DSC BPC to %d on %s\n",
input_bpc, output->name);
ret = igt_force_dsc_enable_bpc(drmfd, output->name, input_bpc);
- igt_assert_f(ret > 0, "debugfs_write failed");
+ igt_assert_f(ret > 0, "forcing input dsc bpc debugfs_write failed\n");
}
void save_force_dsc_en(int drmfd, igt_output_t *output)
--
2.25.1
More information about the igt-dev
mailing list