From 963ae337089a86afc6af3b3d456f41100a14eaca Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 20 Mar 2024 02:48:20 +0000 Subject: [PATCH] unstub i915_gem_object_map_pfn() --- sys/dev/pci/drm/i915/gem/i915_gem_pages.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/pci/drm/i915/gem/i915_gem_pages.c b/sys/dev/pci/drm/i915/gem/i915_gem_pages.c index 0e580f6e324..eaa5ac04619 100644 --- a/sys/dev/pci/drm/i915/gem/i915_gem_pages.c +++ b/sys/dev/pci/drm/i915/gem/i915_gem_pages.c @@ -329,9 +329,6 @@ static void *i915_gem_object_map_page(struct drm_i915_gem_object *obj, static void *i915_gem_object_map_pfn(struct drm_i915_gem_object *obj, enum i915_map_type type) { - STUB(); - return NULL; -#ifdef notyet resource_size_t iomap = obj->mm.region->iomap.base - obj->mm.region->region.start; unsigned long n_pfn = obj->base.size >> PAGE_SHIFT; @@ -357,7 +354,6 @@ static void *i915_gem_object_map_pfn(struct drm_i915_gem_object *obj, kvfree(pfns); return vaddr ?: ERR_PTR(-ENOMEM); -#endif } static void *i915_gem_object_map(struct drm_i915_gem_object *obj, -- 2.20.1