This is important for userspace to avoid hardcoding VGPR size.
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2134491 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 (cherry picked from commit 8fc2796dea6f1210e1a01573961d5836a7ce531e) Signed-off-by: Mario Limonciello (AMD) superm1@kernel.org --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c index 720b20e842ba4..af704f8731c5e 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c @@ -491,6 +491,10 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr, dev->node_props.num_sdma_queues_per_engine); sysfs_show_32bit_prop(buffer, offs, "num_cp_queues", dev->node_props.num_cp_queues); + sysfs_show_32bit_prop(buffer, offs, "cwsr_size", + dev->node_props.cwsr_size); + sysfs_show_32bit_prop(buffer, offs, "ctl_stack_size", + dev->node_props.ctl_stack_size);
if (dev->gpu) { log_max_watch_addr =
On Sun, Jan 11, 2026 at 12:40:01PM -0600, Mario Limonciello wrote:
This is important for userspace to avoid hardcoding VGPR size.
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2134491 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 (cherry picked from commit 8fc2796dea6f1210e1a01573961d5836a7ce531e) Signed-off-by: Mario Limonciello (AMD) superm1@kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 4 ++++ 1 file changed, 4 insertions(+)
What stable kernel(s) is this supposed to be applied to?
thanks,
greg k-h
On 1/11/26 12:51 PM, Greg KH wrote:
On Sun, Jan 11, 2026 at 12:40:01PM -0600, Mario Limonciello wrote:
This is important for userspace to avoid hardcoding VGPR size.
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2134491 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 (cherry picked from commit 8fc2796dea6f1210e1a01573961d5836a7ce531e) Signed-off-by: Mario Limonciello (AMD) superm1@kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 4 ++++ 1 file changed, 4 insertions(+)
What stable kernel(s) is this supposed to be applied to?
thanks,
greg k-h
Actually this is already applied to stable kernels.
I was sending this separately to Ubuntu because ROCm on Ubuntu needs it and the kernel in Ubuntu is EOL upstream.
I forgot to use --suppress-cc=body and the original commit had a @stable tag.
Sorry about the noise!
linux-stable-mirror@lists.linaro.org