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:
1a91510
)
drm/i915: don't Oops in debugfs for I915_FBDEV=n
author
Daniel Vetter
<
[email protected]
>
Thu, 17 Oct 2013 12:35:31 +0000
(14:35 +0200)
committer
Daniel Vetter
<
[email protected]
>
Fri, 18 Oct 2013 13:05:31 +0000
(15:05 +0200)
Failed to properly test this.
Reported-by: Chris Wilson <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Tested-by: Chris Wilson <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 5fce5d89b68a79c00af6eb42d46dedc336afd287..7811bf40dd2c1a6e882ab14441f1777e4134e222 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_debugfs.c
+++ b/
drivers/gpu/drm/i915/i915_debugfs.c
@@
-1456,7
+1456,7
@@
static int i915_gem_framebuffer_info(struct seq_file *m, void *data)
mutex_lock(&dev->mode_config.fb_lock);
list_for_each_entry(fb, &dev->mode_config.fb_list, base.head) {
- if (&fb->base == ifbdev->helper.fb)
+ if (
ifbdev &&
&fb->base == ifbdev->helper.fb)
continue;
seq_printf(m, "user size: %d x %d, depth %d, %d bpp, refcount %d, obj ",