Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-07-06 Thread Alex Deucher
nt: Thursday, July 6, 2023 3:24 PM > To: Liu, Leo ; Chen, Horace ; > amd-gfx@lists.freedesktop.org > Cc: Quan, Evan ; Deucher, Alexander > ; Xiao, Jack ; Zhang, Hawking > ; Liu, Monk ; Xu, Feifei > ; Chang, HaiJun > Subject: Re: [PATCH] drm/amdgpu: Clear VCN cache when

RE: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-07-06 Thread Chen, Horace
- From: Koenig, Christian Sent: Thursday, July 6, 2023 3:24 PM To: Liu, Leo ; Chen, Horace ; amd-gfx@lists.freedesktop.org Cc: Quan, Evan ; Deucher, Alexander ; Xiao, Jack ; Zhang, Hawking ; Liu, Monk ; Xu, Feifei ; Chang, HaiJun Subject: Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-07-06 Thread Christian König
Since this patch was already pushed please revert it until we have a technical consent on why this should be necessary. Regards, Christian. Am 05.07.23 um 21:57 schrieb Leo Liu: What Christian says is correct, esp. during the playback or encode, when suspend/resume happens, it will save the

Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-07-05 Thread Leo Liu
What Christian says is correct, esp. during the playback or encode, when suspend/resume happens, it will save the FW context, and after resume, it will continue the job to where it left during the suspend. Will this apply to SRIOV case? Since the changes only within the SRIOV code, please make

Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-06-30 Thread Christian König
Am 20.06.23 um 15:29 schrieb Horace Chen: [Why] VCN will use some framebuffer space as its cache. It needs to be reset when reset happens, such as FLR. Otherwise some error may be kept after the reset. Well this doesn't make sense at all. The full content of adev->vcn.inst[i].cpu_addr is

RE: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-06-21 Thread Deng, Emily
[AMD Official Use Only - General] Reviewed-by: Emily Deng >-Original Message- >From: amd-gfx On Behalf Of Horace >Chen >Sent: Tuesday, June 20, 2023 9:30 PM >To: amd-gfx@lists.freedesktop.org >Cc: Andrey Grodzovsky ; Xiao, Jack >; Xu, Feifei ; Chen, Horace >; Chang, HaiJun ; >Deucher,