]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/exec: Make the drm_exec_until_all_locked() macro more readable
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 20 May 2026 10:16:14 +0000 (12:16 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 25 May 2026 08:45:38 +0000 (10:45 +0200)
commit25331d9d40d093dfe2805ab558e8ad238bd2a2dc
tree8a90f7ff1b014bfcad4e17b44419d8adeb18cd1c
parentce44b78512e9102aea54ff6b6e521d6c8de9f31c
drm/exec: Make the drm_exec_until_all_locked() macro more readable

Use __UNIQUE_ID as done elsewhere in the kernel rather than a
hand-rolled __PASTE to craft a unique id.

Also use __maybe_unused rather than (void) to signify that a
variable, althrough written to, may not actually be used.

v2:
- Move assignment to declaration (Christian)
- Declare the retry pointer as void *const.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patch.msgid.link/20260520101616.41284-3-thomas.hellstrom@linux.intel.com
include/drm/drm_exec.h