In new amdgpu patches, the for_each_if macro starts being used. It is defined in linux/util_macros.h, and is transitively/implicitly included via pm.h. This macro begins being used in the amdgpu driver provided in Linux kernel version 6.12, and 6.14.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Herald added subscribers: linuxkpi, emaste. · View Herald TranscriptFri, Jun 5, 7:39 AM2026-06-05 07:39:10 (UTC+0)
siri_racha.ca edited the summary of this revision. (Show Details)Fri, Jun 5, 7:41 AM2026-06-05 07:41:39 (UTC+0)
This revision is now accepted and ready to land.Fri, Jun 5, 1:41 PM2026-06-05 13:41:18 (UTC+0)