]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf09371c369d13eaf7a244d3c75d30d479faa9ccf
treef319f79b37829adf0dd587702302bf3ad3ab90bd
parentc65369638c08d5507c03b40021d2f1cf5330b66a
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