drm/amdgpu/gmc9: disable partial wr rmw if ECC is not enabled
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 10 May 2018 20:15:12 +0000 (15:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 May 2018 04:51:22 +0000 (23:51 -0500)
commite1d1a7729a62d7b79fb2ab4ac3bc6fc0ebfb6db9
tree34f8a729f74846b2f42445eab2ce64204f1bd83f
parent1ca2393b7373d5b0e5a356124fb10fc97e143e88
drm/amdgpu/gmc9: disable partial wr rmw if ECC is not enabled

The vbios mistakenly sets this bit on some boards without ECC.
This can lead to reduced performance in some workloads.  Disable
the bit if the board does not have ECC.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c