aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2018-04-12 16:34:19 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-04-24 22:19:57 -0500
commit75569c182e4f65cd8826a5853dc9cbca703cbd0e (patch)
treeb708625a4b942dbae4028c465076a18006faa070 /lib/test_overflow.c
parentMerge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next (diff)
downloadlinux-dev-75569c182e4f65cd8826a5853dc9cbca703cbd0e.tar.xz
linux-dev-75569c182e4f65cd8826a5853dc9cbca703cbd0e.zip
drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders
Otherwise, the SQ may skip some of the register writes, or shader waves may be allocated where we don't expect them, so that as a result we don't actually reset all of the register SRAMs. This can lead to spurious ECC errors later on if a shader uses an uninitialized register. Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions