]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx8: add support kernel interface queue(KIQ)
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 23 Dec 2016 07:00:01 +0000 (15:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:03 +0000 (11:13 -0500)
commitc41648c718f2ff26d476954b6a68457c10b0eeb4
tree13a53a5ba7500024bce122f4ad102aec3151b9ca
parentfcb0fc9142a2eb3617e4f4663c0de200323b8b41
drm/amdgpu/gfx8: add support kernel interface queue(KIQ)

KIQ is queue-memory based initialization method: setup KIQ queue
firstly, then send command to KIQ to setup other queues, without
accessing registers.

For virtualization, need KIQ to access virtual function registers
when running on guest mode.

V2: use amdgpu_bo_create/free_kernel to allocate BO.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/vid.h