summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2019-07-16 13:11:22 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-07-16 14:49:57 -0500
commit08473888e09b0136ceb4d65784b02b537d977a2a (patch)
tree29f01c6dc00d3d8e5b8266d489b5cd56765aa88c /net
parent597292eb73eefe4e48f9f72640955813d59b733a (diff)
downloadlinux-08473888e09b0136ceb4d65784b02b537d977a2a.tar.bz2
drm/amdgpu/gfx10: set SH_MEM_CONFIG.INITIAL_INST_PREFETCH
Prefetch mode 0 is not supported and can lead to hangs with certain very specific code patterns. Set a sound prefetch mode for all VMIDs rather than forcing all shaders to set the prefetch mode at the beginning. Reduce code duplication a bit while we're at it. Note that the 64-bit address mode enum and the retry all enum are both 0, so the only functional change is in the INITIAL_INST_PREFETCH field. Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions