linux/drivers/gpu/drm/amd
Andres Rodriguez 34130fb149 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>
2017-05-31 16:48:46 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: refactor MQD/HQD initialization v3 2017-05-31 16:48:46 -04:00
amdkfd sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
include drm/amd: Add DCN ivsrcids (v2) 2017-05-24 17:41:55 -04:00
powerplay drm/amd/powerplay: code clean up in vega10_hwmgr.c 2017-05-31 14:16:42 -04:00
scheduler drm/amdgpu/SRIOV:implement guilty job TDR for(V2) 2017-05-24 17:40:40 -04:00