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:
bf6b203
)
drm/i915: Fix a typo in vgt_balloon_space()
author
Zhenyu Wang
<
[email protected]
>
Tue, 17 Jan 2017 14:06:11 +0000
(22:06 +0800)
committer
Chris Wilson
<
[email protected]
>
Tue, 17 Jan 2017 15:08:58 +0000
(15:08 +0000)
Commit
625d988acc28
("drm/i915: Extract reserving space in the GTT to a
helper") introduces this typo which can cause a driver loading failure
in Linux GVT-g guest.
Fixes: 625d988acc28 ("drm/i915: Extract reserving space in the GTT to a helper")
Cc: Joonas Lahtinen <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Cc: Zhiyuan Lv <
[email protected]
>
Signed-off-by: Zhenyu Wang <
[email protected]
>
Signed-off-by: Zhi Wang <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
drivers/gpu/drm/i915/i915_vgpu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_vgpu.c
b/drivers/gpu/drm/i915/i915_vgpu.c
index f1ad4fbb5ba7226d36b4667cf4e8543d3b161709..d0abfd08a01c38e221f15301da8c8130ff5d8d0a 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_vgpu.c
+++ b/
drivers/gpu/drm/i915/i915_vgpu.c
@@
-122,7
+122,7
@@
static int vgt_balloon_space(struct i915_ggtt *ggtt,
{
unsigned long size = end - start;
- if (start
<
= end)
+ if (start
>
= end)
return -EINVAL;
DRM_INFO("balloon space: range [ 0x%lx - 0x%lx ] %lu KiB.\n",