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/display/amdgpu_dm/amdgpu_dm.c | |
parent | 74dcfe74b4ef6cd8f219c42c4ea4df0310c78b33 (diff) |
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/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions