commit | 5e208eb62bb308ebf70fd03145c54215d72e7ba6 | [log] [tgz] |
---|---|---|
author | Jacob He <jacob.he@amd.com> | Fri Feb 28 20:24:41 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Mar 06 14:32:16 2020 -0500 |
tree | 26e4d91ed2dfc19be7cb1c7db0da459edd028c4b | |
parent | 1a2172b5ee1752f4d5b5e5601d5abdd3178f9555 [diff] |
drm/amdgpu: Update SPM_VMID with the job's vmid when application reserves the vmid SPM access the video memory according to SPM_VMID. It should be updated with the job's vmid right before the job is scheduled. SPM_VMID is a global resource Signed-off-by: Jacob He <jacob.he@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>