Jacob He 460c484f24 drm/amdgpu: Initialize SPM_VMID with 0xf (v2)
SPM_VMID is a global resource, SPM access the video memory according to
SPM_VMID. The initial valude of SPM_VMID is 0 which is used by kernel.
That means UMD can overwrite the memory of VMID0 by enabling SPM, that
is really dangerous.

Initialize SPM_VMID with 0xf, it messes up other user mode process at
most.

v2: squash in indentation fix

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>
2020-02-28 16:59:21 -05:00
..
2020-02-17 10:34:34 +01:00
2019-12-17 13:57:54 +01:00
2019-11-04 09:28:51 +10:00
2019-09-16 09:59:21 -05:00
2020-01-16 13:35:10 -05:00
2020-01-16 13:35:10 -05:00
2020-02-12 16:04:40 -05:00
2020-02-11 15:37:22 -05:00