Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 0/2] Refactor DRM Debug Severity Handling for enhanced precision
@ 2025-03-20  9:07 Pranay Samala
  2025-03-20  9:07 ` [PATCH i-g-t v2 1/2] lib/igt_sysfs: Update DRM debug mask handling for verbosity control Pranay Samala
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Pranay Samala @ 2025-03-20  9:07 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, kunal1.joshi, sameer.lattannavar, pranay.samala

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-21 11:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-20  9:07 [PATCH i-g-t v2 0/2] Refactor DRM Debug Severity Handling for enhanced precision Pranay Samala
2025-03-20  9:07 ` [PATCH i-g-t v2 1/2] lib/igt_sysfs: Update DRM debug mask handling for verbosity control Pranay Samala
2025-03-21 11:13   ` Jani Nikula
2025-03-20  9:07 ` [PATCH i-g-t v2 2/2] tests/kms: Simplify DRM debug mask update Pranay Samala
2025-03-20  9:32 ` ✓ Xe.CI.BAT: success for Refactor DRM Debug Severity Handling for enhanced precision (rev2) Patchwork
2025-03-20  9:52 ` ✗ i915.CI.BAT: failure " Patchwork
2025-03-20 10:23 ` ✗ Xe.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox