]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdkfd: Export the cwsr_size and ctl_stack_size to userspace
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 5 Dec 2025 18:41:58 +0000 (12:41 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:53 +0000 (10:14 +0100)
commitdf130b75e955e254f3f3eaf6fa96f2b9ea2a9627
tree42bfc48d4af36cfee62baed436770c24f5133bbd
parent3eb34432ea946e9a04f30a95fb699a115112b064
drm/amdkfd: Export the cwsr_size and ctl_stack_size to userspace

commit 8fc2796dea6f1210e1a01573961d5836a7ce531e upstream.

This is important for userspace to avoid hardcoding VGPR size.

Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 71776e0965f9f730af19c5f548827f2a7c91f5a8)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c