Re: [PATCH 05/13] drm/amdgpu: unify MQD programming sequence for kfd and amdgpu

2017-02-06 Thread Felix Kuehling
In the current KFD branch, we changed our equivalent of the MQD commit function to copy most of the MQD registers in a loop and just update a few registers manually to get the right programming sequence and work around some HW errata. We were told that this is what the HW scheduler does as well. Yo

[PATCH 05/13] drm/amdgpu: unify MQD programming sequence for kfd and amdgpu

2017-02-03 Thread Andres Rodriguez
Use the same gfx_*_mqd_commit function for kfd and amdgpu codepaths. This removes the last duplicates of this programming sequence. Signed-off-by: Andres Rodriguez --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 51 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8