projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b40a44
)
drm/kms: fix fb_changed = true else statement
author
Dave Airlie
<airlied@redhat.com>
Thu, 11 Feb 2010 04:28:58 +0000
(14:28 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 11 Feb 2010 04:28:58 +0000
(14:28 +1000)
a patch from Roel was wrong, fix this properly, really
if the fb ptrs are different fb changed shuold be true.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_crtc_helper.c
b/drivers/gpu/drm/drm_crtc_helper.c
index 7d0f00a935faa46c2bc60d15027d2edf1ba29397..f2aaf39be3981944fefc63a23fd8edcc9e3a614f 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc_helper.c
+++ b/
drivers/gpu/drm/drm_crtc_helper.c
@@
-836,11
+836,7
@@
int drm_crtc_helper_set_config(struct drm_mode_set *set)
mode_changed = true;
} else if (set->fb == NULL) {
mode_changed = true;
- } else if ((set->fb->bits_per_pixel !=
- set->crtc->fb->bits_per_pixel) ||
- set->fb->depth != set->crtc->fb->depth)
- fb_changed = true;
- else
+ } else
fb_changed = true;
}
This page took
0.0259 seconds
and
5
git commands to generate.