]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove unnecessary check for mem train
authorLikun Gao <Likun.Gao@amd.com>
Fri, 22 May 2020 06:42:35 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:14 +0000 (01:59 -0400)
commit9ed1e6af0089327ba07c0b7632408b911b2a6d25
treeaea5b603d1e2ef903e51275b6eba9c0dc92ce19d
parentafc1b46e1f9f5681ab69eea1f3a82542f07dd7ba
drm/amdgpu: remove unnecessary check for mem train

a.Check whether mem train support when try to reserve related memory.
b.Remove ASIC check and atom firmware table version check as the check
of firmware capability is enough to achieve that purpose.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c