diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2007-04-17 22:27:46 +0200 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2007-04-17 22:27:46 +0200 |
commit | a45fa264f2b60185ae797f85d2084d57de49bbca (patch) | |
tree | db8d90d0b47f24fd5e0d05163d806d9e55440f36 /linux-core/intel_display.c | |
parent | 1c7f895fa6531b16e7e9fd4568d4f6a50ca5711e (diff) |
Lvds now power up backlight on commit
Now saves previous power level in prepare and sets
that power level in commit, should power level
be 0 it will set maximum level.
Diffstat (limited to 'linux-core/intel_display.c')
-rw-r--r-- | linux-core/intel_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c index 48239329..d0a3a465 100644 --- a/linux-core/intel_display.c +++ b/linux-core/intel_display.c @@ -539,11 +539,13 @@ static void intel_crtc_commit (struct drm_crtc *crtc) void intel_output_prepare (struct drm_output *output) { + /* lvds has its own version of prepare see intel_lvds_prepare */ output->funcs->dpms(output, DPMSModeOff); } void intel_output_commit (struct drm_output *output) { + /* lvds has its own version of commit see intel_lvds_commit */ output->funcs->dpms(output, DPMSModeOn); } |