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:
060e725
)
radeon_ms: another fb fix reset mode if fb changed
author
Jerome Glisse
<glisse@freedesktop.org>
Mon, 7 Apr 2008 18:49:36 +0000
(20:49 +0200)
committer
Jerome Glisse
<glisse@freedesktop.org>
Mon, 7 Apr 2008 18:49:36 +0000
(20:49 +0200)
linux-core/radeon_ms_fb.c
patch
|
blob
|
history
diff --git
a/linux-core/radeon_ms_fb.c
b/linux-core/radeon_ms_fb.c
index
8b720f8
..
dbbddaf
100644
(file)
--- a/
linux-core/radeon_ms_fb.c
+++ b/
linux-core/radeon_ms_fb.c
@@
-243,7
+243,8
@@
static int radeonfb_set_par(struct fb_info *info)
}
if (par->crtc->enabled) {
- if (!drm_mode_equal(&par->crtc->mode, drm_mode)) {
+ if (!drm_mode_equal(&par->crtc->mode, drm_mode) ||
+ par->crtc->fb != par->fb) {
par->crtc->fb = par->fb;
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0)) {
return -EINVAL;