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 /scripts/gdb/linux/modules.py | |
parent | 74dcfe74b4ef6cd8f219c42c4ea4df0310c78b33 (diff) | |
download | linux-stable-3680624e32412ced54f5659431c35b26e3e83923.tar.gz linux-stable-3680624e32412ced54f5659431c35b26e3e83923.tar.bz2 linux-stable-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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions