From: jsg Date: Wed, 20 Mar 2024 02:48:20 +0000 (+0000) Subject: unstub i915_gem_object_map_pfn() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=963ae337089a86afc6af3b3d456f41100a14eaca;p=openbsd unstub i915_gem_object_map_pfn() --- 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,