OSDN Git Service

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)
commit0e5b7a952818e20a6cd0f90096e7c968616b1418
treeda4835e817ac426d5e05a34eb4283f75f412340b
parent52055039297622f164ed2cead43954bb3e29e1b2
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