diff options
author | 2017-04-12 17:19:54 -0400 | |
---|---|---|
committer | 2017-05-31 16:48:46 -0400 | |
commit | 34130fb1493c91d50b04daaeb25e82eecc4483c6 (patch) | |
tree | 4e812b3923272a80312ab061c4eab446048abde2 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | |
parent | drm/amdgpu: clarify MEC_HPD_SIZE is specific to a gfx generation (diff) | |
download | wireguard-linux-34130fb1493c91d50b04daaeb25e82eecc4483c6.tar.xz wireguard-linux-34130fb1493c91d50b04daaeb25e82eecc4483c6.zip |
drm/amdgpu: refactor MQD/HQD initialization v3
The MQD programming sequence currently exists in 3 different places.
Refactor it to absorb all the duplicates.
The success path remains mostly identical except for a slightly
different order in the non-kiq case. This shouldn't matter if the HQD
is disabled.
The error handling paths have been updated to deal with the new code
structure.
v2: the non-kiq path for gfxv8 was dropped in the rebase
v3: split MEC_HPD_SIZE rename, dropped doorbell changes
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h')
0 files changed, 0 insertions, 0 deletions