diff options
author | 2020-07-01 12:23:06 +0800 | |
---|---|---|
committer | 2022-05-04 10:03:14 -0400 | |
commit | 80af9daa62faeb9397a80ddf5777f97809efb166 (patch) | |
tree | a567f240cbd061e4217195a4c0b216999722c67c /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
parent | drm/amdgpu: define MQD abstract layer for hw ip (diff) | |
download | wireguard-linux-80af9daa62faeb9397a80ddf5777f97809efb166.tar.xz wireguard-linux-80af9daa62faeb9397a80ddf5777f97809efb166.zip |
drm/amdgpu: add helper function to initialize mqd from ring v4
Add the helper function to initialize mqd from ring configuration.
v2: use if/else pair instead of ?/: pair
v3: use simpler way to judge hqd_active
v4: fix parameters to amdgpu_gfx_is_high_priority_compute_queue
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions