diff options
| author | Trigger Huang <Trigger.Huang@amd.com> | 2019-04-30 22:00:31 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-06 09:36:48 -0500 |
| commit | 3680624e32412ced54f5659431c35b26e3e83923 (patch) | |
| tree | faed365e88ea1d0051f93debbf0551d778ef624f /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
| parent | drm/amdgpu: Rearm IRQ in Vega10 SR-IOV if IRQ lost (diff) | |
| download | linux-3680624e32412ced54f5659431c35b26e3e83923.tar.gz linux-3680624e32412ced54f5659431c35b26e3e83923.zip | |
drm/amdgpu: Fix VM clean check method
amdgpu_vm_make_compute is used to turn a GFX VM into a compute VM,
the prerequisite is this VM is clean. Let's check if some page tables
are already filled , while not check if some mapping is already made.
Signed-off-by: Trigger Huang <Trigger.Huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions
