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:
b87c7ff
)
build fix
author
Alan Hourihane
<alanh@localhost.(none)>
Wed, 5 Mar 2008 10:33:57 +0000
(10:33 +0000)
committer
Alan Hourihane
<alanh@localhost.(none)>
Wed, 5 Mar 2008 10:35:47 +0000
(10:35 +0000)
linux-core/drm_crtc.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_crtc.c
b/linux-core/drm_crtc.c
index
dfa0987
..
be49190
100644
(file)
--- a/
linux-core/drm_crtc.c
+++ b/
linux-core/drm_crtc.c
@@
-420,14
+420,14
@@
bool drm_crtc_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
int saved_x, saved_y;
bool didLock = false;
struct drm_output *output;
+ bool ret = true;
adjusted_mode = drm_mode_duplicate(dev, mode);
crtc->enabled = drm_crtc_in_use(crtc);
- if (!crtc->enabled)
{
+ if (!crtc->enabled)
return true;
- }
didLock = crtc->funcs->lock(crtc);