Skip to content

Commit 801116e

Browse files
committed
drm/asahi: debug: Add PgTable debug category
Signed-off-by: Asahi Lina <[email protected]>
1 parent cd84f08 commit 801116e

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

drivers/gpu/drm/asahi/debug.rs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ static DEBUG_FLAGS: AtomicU64 = AtomicU64::new(0);
1111

1212
/// Debug flag bit indices
1313
pub(crate) enum DebugFlags {
14-
// 0-3: Memory-related debug
14+
// 0-4: Memory-related debug
1515
Mmu = 0,
16-
Alloc = 1,
17-
Gem = 2,
18-
Object = 3,
19-
20-
// 4-7: Firmware objects and resources
21-
Event = 4,
22-
Buffer = 5,
23-
WorkQueue = 6,
16+
PgTable = 1,
17+
Alloc = 2,
18+
Gem = 3,
19+
Object = 4,
20+
21+
// 5-7: Firmware objects and resources
22+
Event = 5,
23+
Buffer = 6,
24+
WorkQueue = 7,
2425

2526
// 8-13: DRM interface, rendering, compute, GPU globals
2627
Gpu = 8,

0 commit comments

Comments
 (0)