]> git.hungrycats.org Git - linux/commit
drm/amd/pm: Add helper for parameter parsing
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 19 May 2026 13:59:20 +0000 (19:29 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2026 15:08:33 +0000 (11:08 -0400)
commitb68f1654927fe841e71816933d0b50efb4f0196d
tree9d3a9f23b061e2fe66693cf1f3fdced0e67a8d6b
parentd077a0d57c6d151866c4914e7890b6117d255c61
drm/amd/pm: Add helper for parameter parsing

Add a helper function to extract long values passed in a string. The
string may have values of multiple parameters separated by space char.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c