Re: [PATCH] drm/amd/amdgpu: workaround for UVD busy status

2019-08-14 Thread Christian König
Am 14.08.19 um 18:58 schrieb Liu, Leo: On 2019-08-14 7:11 a.m., Kenneth Feng wrote: On Vega20, tools depends on UVD_STATUS.VCPU_REPORT bit0 to decide if UVD instances are in busy state or idle state. This workaround fixes the issue that tools always fetch the UVD instances state as busy state

Re: [PATCH] drm/amd/amdgpu: workaround for UVD busy status

2019-08-14 Thread Liu, Leo
On 2019-08-14 7:11 a.m., Kenneth Feng wrote: > On Vega20, tools depends on UVD_STATUS.VCPU_REPORT bit0 > to decide if UVD instances are in busy state or idle state. > This workaround fixes the issue that tools always fetch the > UVD instances state as busy state no matter if there is a UVD work.

RE: [PATCH] drm/amd/amdgpu: workaround for UVD busy status

2019-08-14 Thread Feng, Kenneth
Hi Christian, This is used by AGM. Thanks. -Original Message- From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] Sent: Wednesday, August 14, 2019 7:16 PM To: Feng, Kenneth ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amd/amdgpu: workaround for UVD busy status

Re: [PATCH] drm/amd/amdgpu: workaround for UVD busy status

2019-08-14 Thread Christian König
Am 14.08.19 um 13:11 schrieb Kenneth Feng: On Vega20, tools depends on UVD_STATUS.VCPU_REPORT bit0 to decide if UVD instances are in busy state or idle state. This workaround fixes the issue that tools always fetch the UVD instances state as busy state no matter if there is a UVD work. Well

[PATCH] drm/amd/amdgpu: workaround for UVD busy status

2019-08-14 Thread Kenneth Feng
On Vega20, tools depends on UVD_STATUS.VCPU_REPORT bit0 to decide if UVD instances are in busy state or idle state. This workaround fixes the issue that tools always fetch the UVD instances state as busy state no matter if there is a UVD work. Signed-off-by: Kenneth Feng ---