diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2019-07-16 13:11:22 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-16 14:49:57 -0500 |
commit | 08473888e09b0136ceb4d65784b02b537d977a2a (patch) | |
tree | 29f01c6dc00d3d8e5b8266d489b5cd56765aa88c /drivers/gpu/drm/Makefile | |
parent | 597292eb73eefe4e48f9f72640955813d59b733a (diff) | |
download | linux-08473888e09b0136ceb4d65784b02b537d977a2a.tar.gz |
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 'drivers/gpu/drm/Makefile')
0 files changed, 0 insertions, 0 deletions