diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-01 00:10:19 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-01 00:10:19 +0000 |
commit | 385c7a997d8681da6bed36f1e6226d4aa57d9cab (patch) | |
tree | fd65f7965eb8d25f6d1582b7ef9002b37c1a3a01 /sys/dev | |
parent | 30e520c0528d227952cbfdc57eb108e1ea6b9b2c (diff) |
drm/amdgpu: fix uninitialized variable pasid_mapping_needed
From Colin Ian King
6032df37982ab948e6d2a41744deabef9181bec9 in linux 4.19.y/4.19.92
17cf678a33c6196a3df4531fe5aec91384c9eeb5 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c index c4622b091a0..4367ee2f5b5 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c @@ -762,7 +762,7 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_ id->oa_size != job->oa_size); bool vm_flush_needed = job->vm_needs_flush; struct dma_fence *fence = NULL; - bool pasid_mapping_needed; + bool pasid_mapping_needed = false; unsigned patch_offset = 0; int r; |