drm/amdkfd: fix NULL ptr for debugfs mqds on GFX v12
authorEric Huang <jinhuieric.huang@amd.com>
Fri, 24 Nov 2023 18:57:02 +0000 (13:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:13 +0000 (16:18 -0400)
commita921c35ae5f81089ce98442694d5b11d0bd0d715
tree40e9a41da677b56e55137e4590b88c3d5fd5c863
parent9243240bed3859fba2d15c016902a4c73a186249
drm/amdkfd: fix NULL ptr for debugfs mqds on GFX v12

mqd_stride function in gfx v12 is not implemented, that
causes NULL ptr error. Add the generic func to fix it.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c