]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: only set cp active field for kiq queue
authorHuang Rui <ray.huang@amd.com>
Fri, 10 Jan 2020 03:40:36 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:38:16 +0000 (13:38 -0500)
commit6b22aff72646a1d2206788fa395a2e4aacf95b24
treeda4835e817ac426d5e05a34eb4283f75f412340b
parentf8bae71b7bf94f74f3098fe9facb5c89521447e5
drm/amdgpu: only set cp active field for kiq queue

The mec ucode will set the CP_HQD_ACTIVE bit while the queue is mapped by
MAP_QUEUES packet. So we only need set cp active field for kiq queue.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c