[PATCH i-g-t 0/2] Refactor DRM Debug Severity Handling for enhanced precision
Pranay Samala
pranay.samala at intel.com
Mon Mar 10 17:15:37 UTC 2025
This commit refactors the DRM debug severity logic to provide more
precise control over the debug output by using bitwise operations.
The previous approach lacked flexibility, as it set the debug log
directly, but this change ensures that only specific bits in the
DRM debug mask are modified.
By unsetting unwanted bits and allowing the function to set only the
passed bits, we gain more granular control over the logging output.
Pranay Samala (2):
lib/igt_sysfs: Update DRM debug severity handling to use bitmask for
verbosity control
tests/kms: Simplify DRM debug severity update
lib/igt_sysfs.c | 54 +++++++++++++------------
lib/igt_sysfs.h | 19 +++++++--
tests/intel/kms_dp_linktrain_fallback.c | 12 ++----
tests/kms_atomic_transition.c | 11 +----
tests/kms_cursor_legacy.c | 10 +----
5 files changed, 50 insertions(+), 56 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list