projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2d689
)
Need fb attached
author
Alan Hourihane
<alanh@tungstengraphics.com>
Tue, 23 Oct 2007 14:33:20 +0000
(15:33 +0100)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Tue, 23 Oct 2007 14:33:20 +0000
(15:33 +0100)
linux-core/drm_crtc.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_crtc.c
b/linux-core/drm_crtc.c
index
bdea20c
..
5bc0220
100644
(file)
--- a/
linux-core/drm_crtc.c
+++ b/
linux-core/drm_crtc.c
@@
-914,7
+914,9
@@
bool drm_initial_config(struct drm_device *dev, bool can_grow)
if (!output->crtc || !output->crtc->desired_mode)
continue;
- drm_crtc_set_mode(output->crtc, output->crtc->desired_mode, 0, 0);
+ /* and needs an attached fb */
+ if (output->crtc->fb)
+ drm_crtc_set_mode(output->crtc, output->crtc->desired_mode, 0, 0);
}
drm_disable_unused_functions(dev);