*From:* amd-gfx on behalf of
Nirmoy Das
*Sent:* Saturday, March 13, 2021 1:08 AM
*To:* Koenig, Christian
*Cc:* Das, Nirmoy ; amd-gfx@lists.freedesktop.org
*Subject:* [PATCH 1/1] drm/amdgpu: wrap kiq ring ops with kiq spinlock
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using
in one thread..
thanks.
Best Regards,
Kevin
From: amd-gfx on behalf of Nirmoy Das
Sent: Saturday, March 13, 2021 1:08 AM
To: Koenig, Christian
Cc: Das, Nirmoy ; amd-gfx@lists.freedesktop.org
Subject: [PATCH 1/1] drm/amdgpu: wrap kiq ring ops with kiq spinlock
Am 12.03.21 um 18:08 schrieb Nirmoy Das:
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Signed-off-by: Nirmoy Das
Acked-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 15 +++
1 file
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Signed-off-by: Nirmoy Das
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git
Am 12.03.21 um 11:24 schrieb Nirmoy:
On 3/12/21 10:52 AM, Christian König wrote:
Am 12.03.21 um 10:49 schrieb Nirmoy Das:
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Ah, now I knew which functions you mean. This
On 3/12/21 10:52 AM, Christian König wrote:
Am 12.03.21 um 10:49 schrieb Nirmoy Das:
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Ah, now I knew which functions you mean. This is not strictly
necessary because that
Am 12.03.21 um 10:49 schrieb Nirmoy Das:
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Ah, now I knew which functions you mean. This is not strictly necessary
because that stuff is only called during bootup and not
KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.
Signed-off-by: Nirmoy Das
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git