diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2020-07-01 07:23:06 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 17:03:14 +0300 |
commit | 80af9daa62faeb9397a80ddf5777f97809efb166 (patch) | |
tree | a567f240cbd061e4217195a4c0b216999722c67c /lib | |
parent | 5405a526276a51905bca0ad3d155cf3f8822563a (diff) | |
download | linux-80af9daa62faeb9397a80ddf5777f97809efb166.tar.xz |
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 'lib')
0 files changed, 0 insertions, 0 deletions