OSDN Git Service

drm/amdgpu: fix the memory override in kiq ring struct
authorShiwu Zhang <shiwu.zhang@amd.com>
Wed, 17 May 2023 05:21:15 +0000 (13:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:41:04 +0000 (10:41 -0400)
commite825fb641b4c78a8dab5101559dd27e64d2f24aa
tree3395fd8b76b10b4ce14de65dbf3755a822cd823c
parentc796d7e039b57f9407523b8c4a3ba5358dd2d8ff
drm/amdgpu: fix the memory override in kiq ring struct

This is introduced by the code merge and will let the
adev->gfx.kiq[0].ring struct being overrided

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c