projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56f742
)
Revert "drm: Don't try and disable an encoder that was never enabled"
author
Dave Airlie
<airlied@redhat.com>
Tue, 21 Dec 2010 02:47:56 +0000
(12:47 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 21 Dec 2010 02:47:56 +0000
(12:47 +1000)
This reverts commit
541cc966915b6756e54c20eebe60ae957afdb537
.
Wei Yonjun reported this caused a regression against Intel VGA hotplug
on his G33 hw.
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 bede10a0340700b69717caf1da8e81ee0546ab00..7ca59359fee2c83187f9cacc022d4af78bf67dd5 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc_helper.c
+++ b/
drivers/gpu/drm/drm_crtc_helper.c
@@
-241,7
+241,7
@@
void drm_helper_disable_unused_functions(struct drm_device *dev)
}
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
- if (
encoder->crtc &&
!drm_helper_encoder_in_use(encoder)) {
+ if (!drm_helper_encoder_in_use(encoder)) {
drm_encoder_disable(encoder);
/* disconnector encoder from any connector */
encoder->crtc = NULL;