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:
c0f4042
)
drm/i915/skl: Fix up positive error code
author
Tvrtko Ursulin
<
[email protected]
>
Wed, 25 Mar 2015 10:15:26 +0000
(10:15 +0000)
committer
Daniel Vetter
<
[email protected]
>
Wed, 25 Mar 2015 17:23:43 +0000
(18:23 +0100)
It should have been negative since it is returned with ERR_PTR().
Introduced in new code commit:
commit
50470bb011c4be278097670bea92462f4e8c8945
Author: Tvrtko Ursulin <
[email protected]
>
Date: Mon Mar 23 11:10:36 2015 +0000
drm/i915/skl: Support secondary (rotated) frame buffer mapping
Signed-off-by: Tvrtko Ursulin <
[email protected]
>
Reported-by: Dan Carpenter <
[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 fc56c112a7deb89aea3424f696ad3f777d9029fd..9903bb0097a6f12183cd5d5f9a73087c70d52db0 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/
drivers/gpu/drm/i915/i915_gem_gtt.c
@@
-2540,7
+2540,7
@@
intel_rotate_fb_obj_pages(struct i915_ggtt_view *ggtt_view,
struct sg_table *st;
unsigned int tile_pitch, tile_height;
unsigned int width_pages, height_pages;
- int ret = ENOMEM;
+ int ret =
-
ENOMEM;
pages = obj->base.size / PAGE_SIZE;