Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
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
..
2017-05-31 14:16:35 -04:00
2015-06-03 21:03:15 -04:00
2017-05-24 17:41:19 -04:00
2017-03-29 23:53:46 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2016-10-04 11:15:59 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2017-05-24 17:41:16 -04:00
2017-05-24 17:41:16 -04:00
2016-08-31 15:21:09 -04:00
2016-08-31 15:21:09 -04:00
2017-05-24 17:41:17 -04:00
2017-05-24 17:40:26 -04:00