Re: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset

2024-10-18 Thread Alex Deucher
> > Sent: Friday, October 18, 2024 4:47 PM > > To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander > > Subject: Re: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to > > query queue reset > > > > Am 18.10.24 um 1

Re: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset

2024-10-18 Thread Christian König
Subject: Re: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset Am 18.10.24 um 10:19 schrieb jesse.zh...@amd.com: Not all ASICs support the queue reset feature. Therefore, userspace can query this feature via AMDGPU_INFO_QUEUE_RESET before validating a queue reset. Why

RE: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset

2024-10-18 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Hi Christian, -Original Message- From: Koenig, Christian Sent: Friday, October 18, 2024 4:47 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: Re: [PATCH] drm/amdgpu: add the command

Re: [PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset

2024-10-18 Thread Christian König
Am 18.10.24 um 10:19 schrieb jesse.zh...@amd.com: Not all ASICs support the queue reset feature. Therefore, userspace can query this feature via AMDGPU_INFO_QUEUE_RESET before validating a queue reset. Why would UMDs need that information? Signed-off-by: Jesse Zhang --- drivers/gpu/drm/am

[PATCH] drm/amdgpu: add the command AMDGPU_INFO_QUEUE_RESET to query queue reset

2024-10-18 Thread jesse.zh...@amd.com
Not all ASICs support the queue reset feature. Therefore, userspace can query this feature via AMDGPU_INFO_QUEUE_RESET before validating a queue reset. Signed-off-by: Jesse Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 27 + include/uapi/drm/amdgpu_drm.h |