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:
88be58b
)
drm/i915: Protect against deferred fbdev setup
author
Daniel Vetter
<
[email protected]
>
Thu, 6 Jul 2017 13:00:20 +0000
(15:00 +0200)
committer
Daniel Vetter
<
[email protected]
>
Fri, 14 Jul 2017 13:15:01 +0000
(15:15 +0200)
We could probably hit this already with our current async fbdev init,
but it's much easier to hit this with the new deferred fbdev setup
that I'm working on polishing.
Cc: Maarten Lankhorst <
[email protected]
>
Reported-by: Maarten Lankhorst <
[email protected]
>
Reviewed-by: Maarten Lankhorst <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[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 620c9218d1c10a35aca60a0ffe5de753d25790e1..2ef75c1a611957c6188402be8422a6e3c1ca4489 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_debugfs.c
+++ b/
drivers/gpu/drm/i915/i915_debugfs.c
@@
-1935,7
+1935,7
@@
static int i915_gem_framebuffer_info(struct seq_file *m, void *data)
return ret;
#ifdef CONFIG_DRM_FBDEV_EMULATION
- if (dev_priv->fbdev) {
+ if (dev_priv->fbdev
&& dev_priv->fbdev->helper.fb
) {
fbdev_fb = to_intel_framebuffer(dev_priv->fbdev->helper.fb);
seq_printf(m, "fbcon size: %d x %d, depth %d, %d bpp, modifier 0x%llx, refcount %d, obj ",