]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add contiguous flag in ucode bo create
authorhorchen <horace.chen@amd.com>
Fri, 9 Jun 2017 11:56:48 +0000 (04:56 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2017 15:50:26 +0000 (11:50 -0400)
commit640cf891dc17f441574f001afbcb879d34c60570
treed36bf3ec2522662db43b34d9a82c4e6503ab68da
parentd2aaf130de90661e59e9a37986408a0377ad3db3
drm/amdgpu: add contiguous flag in ucode bo create

Under VF environment, the ucode would be settled to the visible VRAM,
As it would be pinned to the visible VRAM, it's better to add
contiguous flag,otherwise it need to move gpu address during the pin
process. This movement is not necessary.

Signed-off-by: horchen <horace.chen@amd.com>
Reviewed-by: Huang Rui <ray.huang@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