aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-08-06 21:44:57 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-06 21:44:57 -0400
commit13dfb3fa494361ea9a5950f27c9cd8b06d28c04f (patch)
tree1bf30874f57c6c6b21160a10282191fcd0868055 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parent05bb520376af2c5146d3c44832c22ec3bb54d778 (diff)
parent33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 5f401b41ef7c..751567f78567 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -3706,6 +3706,15 @@ static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev)
3706 } 3706 }
3707 vi_srbm_select(adev, 0, 0, 0, 0); 3707 vi_srbm_select(adev, 0, 0, 0, 0);
3708 mutex_unlock(&adev->srbm_mutex); 3708 mutex_unlock(&adev->srbm_mutex);
3709
3710 /* Initialize all compute VMIDs to have no GDS, GWS, or OA
3711 acccess. These should be enabled by FW for target VMIDs. */
3712 for (i = FIRST_COMPUTE_VMID; i < LAST_COMPUTE_VMID; i++) {
3713 WREG32(amdgpu_gds_reg_offset[i].mem_base, 0);
3714 WREG32(amdgpu_gds_reg_offset[i].mem_size, 0);
3715 WREG32(amdgpu_gds_reg_offset[i].gws, 0);
3716 WREG32(amdgpu_gds_reg_offset[i].oa, 0);
3717 }
3709} 3718}
3710 3719
3711static void gfx_v8_0_config_init(struct amdgpu_device *adev) 3720static void gfx_v8_0_config_init(struct amdgpu_device *adev)