]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/gud: rearrange gud_probe() to prepare for function splitting
authorRuben Wauters <rubenru09@aol.com>
Mon, 20 Oct 2025 13:56:04 +0000 (14:56 +0100)
committerRuben Wauters <rubenru09@aol.com>
Fri, 24 Oct 2025 18:36:45 +0000 (19:36 +0100)
commitb9e5e9d2c187b849e050d59823e8c834f78475ab
tree639774ca9a1fcba3a247760bc9b4705d0857d520
parent5efbe8ff98aa56c2b537b03c97f2b2b87456acff
drm/gud: rearrange gud_probe() to prepare for function splitting

gud_probe() is currently very large and does many things, including
pipeline setup and feature detection, as well as having USB functions.

This patch re-orders the code in gud_probe() to make it more organised
and easier to split apart in the future.

Signed-off-by: Ruben Wauters <rubenru09@aol.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20251020140147.5017-1-rubenru09@aol.com/
drivers/gpu/drm/gud/gud_drv.c