summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-02-26 16:12:50 -0800
committerCarl Worth <cworth@cworth.org>2010-02-26 16:13:25 -0800
commitd5409303128f5c9ba940ab564ff407a82eabc597 (patch)
treeeea1f3056601473065917841df28a6dd07e97df9
parent7d0e6ff4dadcf243b1006ce6f85bd06c5f4e4908 (diff)
Remove dead code: fill_detailed_lvds_block
All callers of this function were recently removed, so it can join them in the bit bucket.
-rw-r--r--src/drmmode_display.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 3e89e787..52a21f5b 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -672,29 +672,6 @@ drmmode_output_mode_valid(xf86OutputPtr output, DisplayModePtr pModes)
return MODE_OK;
}
-static void fill_detailed_lvds_block(struct detailed_monitor_section *det_mon,
- DisplayModePtr mode)
-{
- struct detailed_timings *timing = &det_mon->section.d_timings;
-
- det_mon->type = DT;
- timing->clock = mode->Clock * 1000;
- timing->h_active = mode->HDisplay;
- timing->h_blanking = mode->HTotal - mode->HDisplay;
- timing->v_active = mode->VDisplay;
- timing->v_blanking = mode->VTotal - mode->VDisplay;
- timing->h_sync_off = mode->HSyncStart - mode->HDisplay;
- timing->h_sync_width = mode->HSyncEnd - mode->HSyncStart;
- timing->v_sync_off = mode->VSyncStart - mode->VDisplay;
- timing->v_sync_width = mode->VSyncEnd - mode->VSyncStart;
-
- if (mode->Flags & V_PVSYNC)
- timing->misc |= 0x02;
-
- if (mode->Flags & V_PHSYNC)
- timing->misc |= 0x01;
-}
-
static DisplayModePtr
drmmode_output_lvds_edid(xf86OutputPtr output, DisplayModePtr modes)
{