OSDN Git Service

drm/amdgpu: update the method to set kcq queue mask
authorLikun Gao <Likun.Gao@amd.com>
Thu, 24 Oct 2019 03:56:07 +0000 (11:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 19:19:07 +0000 (15:19 -0400)
commit3ab6fe4b28a6614126a07c8210b013abf8da35f4
treea69e15f85859b8bf96264a7c0a35091841bdec57
parent98bf250edd64344124fe5f619d6320d02e17af5e
drm/amdgpu: update the method to set kcq queue mask

Use a common method to set queue mask before set kiq resource.
The value of queue mask must suitablt for the designated form.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c