RE: [PATCH] drm/amd/amdgpu: Clean up VCN fw_shared and set flag bits during hw_init

2023-11-29 Thread Liu, Leo
[AMD Official Use Only - General] > -Original Message- > From: amd-gfx On Behalf Of > Bokun Zhang > Sent: Tuesday, November 28, 2023 4:25 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Bokun > Subject: [PATCH] drm/amd/amdgpu: Clean up VCN fw_shared and s

[PATCH] drm/amd/amdgpu: Clean up VCN fw_shared and set flag bits during hw_init

2023-11-28 Thread Bokun Zhang
- After whole GPU reset, the VCN fw_shared data is cleaned up. This seems like a new behavior and it is considered safer since we do not want to keep the residual data - However, the existing driver code still assumes the residual data. For example, in sw_init, we will set the UNIFIED_QUEUE