]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use new TTM flag to avoid OOM triggering.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 16 Jan 2018 15:06:36 +0000 (10:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:12 +0000 (14:18 -0500)
commitc65395f65f02ae92d6eb071e0b97d3c5d428f2b2
tree9241463e98cc9f537905a30adcca6eb9a3b9c007
parent53cc0d3c8b35b6f4896855c5257f9248074c7662
drm/amdgpu: Use new TTM flag to avoid OOM triggering.

Avoid OOM on syatem pages allocations.

v2:
Remove modeprobe parameter, make this behaviour the only option.

v3:
Move setting no_retry flag into amdgpu_ttm_init.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c