Skip to content

Commit

Permalink
drm/amdgpu: Set graphics noretry to 1
Browse files Browse the repository at this point in the history
Fix graphics hang issue while computer noretry set to 1

BUG: SWDEV-146501

Change-Id: I3ccafe2beb58f05bb240db6154151a62589a195a
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
  • Loading branch information
Philip Yang authored and Philip Yang committed Mar 27, 2018
1 parent f2c68ea commit 01510db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,7 @@ static void gfx_v9_0_gpu_init(struct amdgpu_device *adev)
tmp = 0;
tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, ALIGNMENT_MODE,
SH_MEM_ALIGNMENT_MODE_UNALIGNED);
tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, RETRY_DISABLE, 1);
WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, tmp);
WREG32_SOC15(GC, 0, mmSH_MEM_BASES, 0);
}
Expand Down

0 comments on commit 01510db

Please sign in to comment.