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

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


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 17:15 [PATCH i-g-t 0/2] Refactor DRM Debug Severity Handling for enhanced precision Pranay Samala
2025-03-10 17:15 ` [PATCH i-g-t 1/2] lib/igt_sysfs: Update DRM debug severity handling to use bitmask for verbosity control Pranay Samala
2025-03-11  8:49   ` Jani Nikula
2025-03-10 17:15 ` [PATCH i-g-t 2/2] tests/kms: Simplify DRM debug severity update Pranay Samala
2025-03-11  8:55   ` Jani Nikula
2025-03-11  0:47 ` ✓ Xe.CI.BAT: success for Refactor DRM Debug Severity Handling for enhanced precision Patchwork
2025-03-11  1:05 ` ✓ i915.CI.BAT: " Patchwork
2025-03-11 20:44 ` ✗ Xe.CI.Full: failure " Patchwork

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