[PATCH i-g-t v2 0/2] Refactor DRM Debug Severity Handling for enhanced precision
Pranay Samala
pranay.samala at intel.com
Thu Mar 20 09:07:53 UTC 2025
This patch addresses the need for more flexible handling of the debug
mask in the test framework. The changes enable users to pass a bitmask
option during execution, allowing for dynamic updates to the debug
mask as required. If no mask is provided, the debug mask defaults to 0x4.
Additionally, the exit handler has been updated to restore the original
debug mask at the end of the test, ensuring consistency. This
modification improves the flexibility and robustness of the DRM debug
logic, making it easier to control the debug mask throughout the test.
Pranay Samala (2):
lib/igt_sysfs: Update DRM debug mask handling for verbosity control
tests/kms: Simplify DRM debug mask update
lib/igt_sysfs.c | 61 ++++++++++++++-----------
lib/igt_sysfs.h | 20 ++++++--
tests/intel/kms_dp_linktrain_fallback.c | 40 ++++++++++++----
tests/kms_atomic_transition.c | 25 +++++-----
tests/kms_cursor_legacy.c | 38 +++++++++++----
5 files changed, 123 insertions(+), 61 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list