projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ca5fa
)
drm/i915/skl: Initialize PPGTT like gen8
author
Damien Lespiau
<
[email protected]
>
Thu, 23 Jan 2014 13:59:49 +0000
(13:59 +0000)
committer
Daniel Vetter
<
[email protected]
>
Wed, 24 Sep 2014 12:51:59 +0000
(14:51 +0200)
gen9 uses very similar memory management to what gen8 has. Just follow
the flow.
v2: Fix trivial conflict (Damien)
Reviewed-by: Rodrigo Vivi <
[email protected]
>
Reviewed-by: Ben Widawsky <
[email protected]
>
Signed-off-by: Damien Lespiau <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_gem_gtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 688dd00ecbd20669655b1fe6bd30816b8e67db9d..66e4b2ba345a6388d4c33f0784b6d40e54cb74af 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/
drivers/gpu/drm/i915/i915_gem_gtt.c
@@
-1092,7
+1092,7
@@
static int __hw_ppgtt_init(struct drm_device *dev, struct i915_hw_ppgtt *ppgtt)
if (INTEL_INFO(dev)->gen < 8)
return gen6_ppgtt_init(ppgtt);
- else if (IS_GEN8(dev))
+ else if (IS_GEN8(dev)
|| IS_GEN9(dev)
)
return gen8_ppgtt_init(ppgtt, dev_priv->gtt.base.total);
else
BUG();