projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stable/for-linus-5.15' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-starfive.git]
/
drivers
/
gpu
/
drm
/
i915
/
gem
/
i915_gem_internal.c
diff --git
a/drivers/gpu/drm/i915/gem/i915_gem_internal.c
b/drivers/gpu/drm/i915/gem/i915_gem_internal.c
index
13b217f
..
e5ae9c0
100644
(file)
--- a/
drivers/gpu/drm/i915/gem/i915_gem_internal.c
+++ b/
drivers/gpu/drm/i915/gem/i915_gem_internal.c
@@
-42,7
+42,7
@@
static int i915_gem_object_get_pages_internal(struct drm_i915_gem_object *obj)
max_order = MAX_ORDER;
#ifdef CONFIG_SWIOTLB
- if (is_swiotlb_active()) {
+ if (is_swiotlb_active(
obj->base.dev->dev
)) {
unsigned int max_segment;
max_segment = swiotlb_max_segment();