drm/amdgpu: add check before enabling/disabling broadcast mode
authorGuchun Chen <guchun.chen@amd.com>
Wed, 4 Dec 2019 07:51:16 +0000 (15:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 22:54:14 +0000 (17:54 -0500)
commit6e807535dae5dbbd53bcc5e81047a20bf5eb08ea
tree365ad24360a358b1f74b053df412312aff00817f
parentb53bd16fec3d52ff7be1648a9b0a747288f52cf8
drm/amdgpu: add check before enabling/disabling broadcast mode

When security violation from new vbios happens, data fabric is
risky to stop working. So prevent the direct access to DF
mmFabricConfigAccessControl from the new vbios and onwards.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/df_v3_6.c