Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Nicolai Hähnle 08473888e0 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>
2019-07-16 14:49:57 -05:00
..
2015-06-03 21:03:15 -04:00
2019-06-20 11:36:22 -05:00
2019-06-20 11:36:22 -05:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2017-10-20 13:28:44 -04:00
2019-01-14 10:58:37 +01:00
2019-06-10 23:00:01 +02:00
2015-06-03 21:03:15 -04:00
2019-06-22 09:34:14 -05:00
2015-06-03 21:03:17 -04:00
2019-07-08 13:56:22 -05:00
2019-06-20 21:16:38 -05:00
2016-08-31 15:21:09 -04:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-27 08:56:16 -05:00