]> 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)
commit833a954354c8681c24f1005281fbf27eb787adde
tree8692a75a86dbae7fdc5a4ad48068201296513663
parent1c9504d14f51cc738605bd44d026e6112d0840d5
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