};
        struct drm_i915_private *dev_priv;
        struct i915_hw_ppgtt *ppgtt;
-       struct pci_dev *pdev;
        int err;
 
        dev_priv = mock_gem_device();
        /* Pretend to be a device which supports the 48b PPGTT */
        mkwrite_device_info(dev_priv)->ppgtt = INTEL_PPGTT_FULL_4LVL;
 
-       pdev = dev_priv->drm.pdev;
-       dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(39));
-
        mutex_lock(&dev_priv->drm.struct_mutex);
        ppgtt = i915_ppgtt_create(dev_priv, ERR_PTR(-ENODEV));
        if (IS_ERR(ppgtt)) {
 
        pdev->class = PCI_BASE_CLASS_DISPLAY << 16;
        pdev->dev.release = release_dev;
        dev_set_name(&pdev->dev, "mock");
-       dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
+       dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
 
 #if IS_ENABLED(CONFIG_IOMMU_API) && defined(CONFIG_INTEL_IOMMU)
        /* hack to disable iommu for the fake device; force identity mapping */