artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f0ffb
)
unstub i915_gem_object_map_pfn()
author
jsg
<jsg@openbsd.org>
Wed, 20 Mar 2024 02:48:20 +0000
(
02:48
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 20 Mar 2024 02:48:20 +0000
(
02:48
+0000)
sys/dev/pci/drm/i915/gem/i915_gem_pages.c
patch
|
blob
|
history
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
0e580f6
..
eaa5ac0
100644
(file)
--- 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,