diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-03-20 04:28:40 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-03-20 04:28:40 +0000 |
commit | 63fec4f5ed39afa1b2081e98e6861a434424e552 (patch) | |
tree | ef55b97dcb23f77a33c61cf0603f9e777e3f77bb /sys | |
parent | d462a0ec5a7432a680621288d46d4f506e265899 (diff) |
unstub i915_ttm_io_mem_pfn()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/gem/i915_gem_ttm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/i915/gem/i915_gem_ttm.c b/sys/dev/pci/drm/i915/gem/i915_gem_ttm.c index 62e0553c481..e0279102620 100644 --- a/sys/dev/pci/drm/i915/gem/i915_gem_ttm.c +++ b/sys/dev/pci/drm/i915/gem/i915_gem_ttm.c @@ -715,9 +715,6 @@ static int i915_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource static unsigned long i915_ttm_io_mem_pfn(struct ttm_buffer_object *bo, unsigned long page_offset) { - STUB(); - return 0; -#ifdef notyet struct drm_i915_gem_object *obj = i915_ttm_to_gem(bo); struct scatterlist *sg; unsigned long base; @@ -730,7 +727,6 @@ static unsigned long i915_ttm_io_mem_pfn(struct ttm_buffer_object *bo, sg = i915_gem_object_page_iter_get_sg(obj, &obj->ttm.get_io_page, page_offset, &ofs); return ((base + sg_dma_address(sg)) >> PAGE_SHIFT) + ofs; -#endif } static int i915_ttm_access_memory(struct ttm_buffer_object *bo, |