]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn: reset fw_shared under SRIOV
authorBokun Zhang <bokun.zhang@amd.com>
Wed, 11 Dec 2024 21:42:56 +0000 (15:42 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:14:16 +0000 (12:14 -0500)
commit3676f37a88432132bcff55a17dc48911239b6d98
treee66e0e9b00d0062e33359ce00440c6ce0ce54f5f
parentb7a287fa0c22802529aa346527512b155a8378fe
drm/amdgpu/vcn: reset fw_shared under SRIOV

- The previous patch only considered the case for baremetal
  and is not applicable for SRIOV code path. We also need to
  init fw_share for SRIOV VF

Fixes: 928cd772e18f ("drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Bokun Zhang <bokun.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c