Lines Matching refs:scratch_page
396 ppgtt->scratch_page_paddr = ptob(dev_priv->gtt.scratch_page->pfnarray[0]);
539 uint64_t scratch_page_addr = dev_priv->gtt.scratch_page->pfnarray[0] << PAGE_SHIFT;
581 dev_priv->gtt.scratch_page->pfnarray[0], type);
720 dev_priv->gtt.scratch_page = kzalloc(sizeof(struct drm_gem_object), GFP_KERNEL);
721 if (dev_priv->gtt.scratch_page == NULL)
729 if (drm_gem_object_init(dev, dev_priv->gtt.scratch_page, DRM_PAGE_SIZE, gen) != 0) {
730 kmem_free(dev_priv->gtt.scratch_page, sizeof (struct drm_gem_object));
733 (void) memset(dev_priv->gtt.scratch_page->kaddr, 0, DRM_PAGE_SIZE);
742 drm_gem_object_release(dev_priv->gtt.scratch_page);
743 kmem_free(dev_priv->gtt.scratch_page, sizeof (struct drm_gem_object));
1163 uint64_t scratch_page_addr = dev_priv->gtt.scratch_page->pfnarray[0] << PAGE_SHIFT;
1169 offset, dev_priv->gtt.scratch_page->pfnarray[0] ,1);