OSDN Git Service

drm/amdgpu: add an auto setting to the noretry parameter
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2020 13:50:24 +0000 (09:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Sep 2020 20:55:21 +0000 (16:55 -0400)
commitd5cc02d97ab125b62075ad296e4dca9a7fc54c9b
treef319f79b37829adf0dd587702302bf3ad3ab90bd
parent9b498efae29f86d53fbd44845324f0f0faae5ff2
drm/amdgpu: add an auto setting to the noretry parameter

This allows us to set different defaults on a per asic basis.  This
way we can enable noretry on dGPUs where it can increase performance
in certain cases and disable it on chips where it can be problematic.

For now the default is 0 for all asics, but we may want to try and
enable it again for newer dGPUs.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c