]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:cleanup ucode_init_bo
authorMonk Liu <Monk.Liu@amd.com>
Tue, 17 Oct 2017 09:51:41 +0000 (17:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:31 +0000 (16:41 -0500)
commit503846e0836a62f6efd536a4c495917c1a50b345
tree8692a75a86dbae7fdc5a4ad48068201296513663
parent13a752e3a246493bfaba0cf0e0f376672ebb734c
drm/amdgpu:cleanup ucode_init_bo

1,no sriov check since gpu recover is unified
2,need CPU_ACCESS_REQUIRED flag for VRAM if SRIOV
because otherwise after following PIN the first allocated
VRAM bo is wasted due to some TTM mgr reason.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c