summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fb/creator.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/fb/creator.c b/sys/dev/fb/creator.c
index 288e4dd..bfcf2bc 100644
--- a/sys/dev/fb/creator.c
+++ b/sys/dev/fb/creator.c
@@ -551,20 +551,11 @@ creator_blank_display(video_adapter_t *adp, int mode)
v = FFB_READ(sc, FFB_DAC, FFB_DAC_VALUE);
switch (mode) {
case V_DISPLAY_ON:
- v &= ~(FFB_DAC_CFG_TGEN_VSD | FFB_DAC_CFG_TGEN_HSD);
v |= FFB_DAC_CFG_TGEN_VIDE;
break;
case V_DISPLAY_BLANK:
- v |= (FFB_DAC_CFG_TGEN_VSD | FFB_DAC_CFG_TGEN_HSD);
- v &= ~FFB_DAC_CFG_TGEN_VIDE;
- break;
case V_DISPLAY_STAND_BY:
- v &= ~FFB_DAC_CFG_TGEN_VSD;
- v &= ~FFB_DAC_CFG_TGEN_VIDE;
- break;
case V_DISPLAY_SUSPEND:
- v |= FFB_DAC_CFG_TGEN_VSD;
- v &= ~FFB_DAC_CFG_TGEN_HSD;
v &= ~FFB_DAC_CFG_TGEN_VIDE;
break;
}
OpenPOWER on IntegriCloud