]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdkfd: Add missing gfx11 MQD manager callbacks
authorJay Cornwall <jay.cornwall@amd.com>
Fri, 25 Aug 2023 16:18:41 +0000 (12:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 22:14:28 +0000 (18:14 -0400)
commite9dca969b2426702a73719ab9207e43c6d80b581
tree150fdf9b6c1eb21e09adae4423e64675748b234f
parent9f051d6ff13fb20b424a86672db42746aa27d963
drm/amdkfd: Add missing gfx11 MQD manager callbacks

mqd_stride function was introduced in commit 2f77b9a242a2
("drm/amdkfd: Update MQD management on multi XCC setup")
but not assigned for gfx11. Fixes a NULL dereference in debugfs.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.5.x
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c