Merge drm/drm-next into drm-intel-next
[linux-block.git] / drivers / gpu / drm / i915 / gt / intel_ppgtt.c
index 96b85a10ef33a1f1a477d724d2642ca1e2e3523a..3f940ae27028764f449b8738d8f705b5c76fbc67 100644 (file)
@@ -301,7 +301,7 @@ void ppgtt_init(struct i915_ppgtt *ppgtt, struct intel_gt *gt)
 
        ppgtt->vm.gt = gt;
        ppgtt->vm.i915 = i915;
-       ppgtt->vm.dma = &i915->drm.pdev->dev;
+       ppgtt->vm.dma = i915->drm.dev;
        ppgtt->vm.total = BIT_ULL(INTEL_INFO(i915)->ppgtt_size);
 
        i915_address_space_init(&ppgtt->vm, VM_CLASS_PPGTT);