artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0acc5a2
)
drm/i915: Initialize the obj flags for shmem objects
author
jsg
<jsg@openbsd.org>
Wed, 15 Feb 2023 10:31:23 +0000
(10:31 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 15 Feb 2023 10:31:23 +0000
(10:31 +0000)
From Aravind Iddamsetty
baaed8c92927e2530a799daf2e909e6688dc2943
in linux-6.1.y/6.1.12
44e4c5684fcc82d8f099656c4ea39d9571e2a8ac
in mainline linux
sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
b/sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
index
44c9fad
..
647f795
100644
(file)
--- a/
sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
+++ b/
sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
@@
-676,7
+676,7
@@
static int shmem_object_init(struct intel_memory_region *mem,
GEM_BUG_ON(!(mapping_gfp_mask(mapping) & __GFP_RECLAIM));
#endif
- i915_gem_object_init(obj, &i915_gem_shmem_ops, &lock_class,
0
);
+ i915_gem_object_init(obj, &i915_gem_shmem_ops, &lock_class,
flags
);
obj->mem_flags |= I915_BO_FLAG_STRUCT_PAGE;
obj->write_domain = I915_GEM_DOMAIN_CPU;
obj->read_domains = I915_GEM_DOMAIN_CPU;