]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE
authorTiecheng Zhou <Tiecheng.Zhou@amd.com>
Tue, 14 May 2019 02:03:35 +0000 (10:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:52 +0000 (12:20 -0500)
commit239218738f06b9b9c229a0a8bcc5ab5fc29e27bf
treeef9a318e4b807fc2701cd2dc750016af22b0cbaf
parentd5c420b88f434a7b45b0fce8357edfe42ad95b39
drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE

it requires to initialize HDP_NONSURFACE_BASE, so as to avoid
using the value left by a previous VM under sriov scenario.

v2: it should not hurt baremetal, generalize it for both sriov
and baremetal

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Tiecheng Zhou <Tiecheng.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c