drm/amdgpu: Filter security violation registers
authorBokun Zhang <Bokun.Zhang@amd.com>
Thu, 16 Dec 2021 20:09:41 +0000 (15:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:00:47 +0000 (16:00 -0500)
commitb18ff6925d84492d845debe2dbb81122b1d141fa
treeb4ce68a113a06ced839156fe9ad137744b6cf58e
parent0cd7f378b0927e10774981eb09e388258ca925e0
drm/amdgpu: Filter security violation registers

Recently, there is security policy update under SRIOV.
We need to filter the registers that hit the violation
and move the code to the host driver side so that
the guest driver can execute correctly.

Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c