]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Switch baremetal to use KIQ for compute ring management. (v3)
authorDavid Panariti <David.Panariti@amd.com>
Tue, 28 Mar 2017 16:57:31 +0000 (12:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:46 +0000 (17:39 -0400)
commitba847bccf32d9c96caa1b7ae8fbb51b8292a9892
tree9bc79bab8b408d1629b17bec2d046e1ad65f40c3
parentd4aea6481d8471b26b4accdeb834073dcafa3b44
drm/amdgpu: Switch baremetal to use KIQ for compute ring management. (v3)

KIQ is the Kernel Interface Queue for managing the MEC.  Rather than setting
up rings via direct MMIO of ring registers, the rings are configured via
special packets sent to the KIQ.  The allows the MEC to better manage shared
resources and certain power events.

v2: squash in s3/s4 fix from Rex
v3: further fixes from Rex

Signed-off-by: David Panariti <David.Panariti@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Tom St Denis <tom.stdenis@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