diff --git a/drivers/gpu/drm/asahi/g17/context.rs b/drivers/gpu/drm/asahi/g17/context.rs index 82f1371bc4e17..87572f7eb102f 100644 --- a/drivers/gpu/drm/asahi/g17/context.rs +++ b/drivers/gpu/drm/asahi/g17/context.rs @@ -643,7 +643,7 @@ mod capacity_tests { assert!(matches!(ids.acquire(), Err(ENOSPC))); drop(clients); assert_eq!(ids.used(), 0); - assert_eq!(*ids.used.lock(), 3); + assert_eq!(ids.state.lock().used, 3); } } }