~ubuntu-branches/ubuntu/natty/xserver-xorg-video-nv/natty

« back to all changes in this revision

Viewing changes to compat/modes/xf86EdidModes.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-12-07 17:48:09 UTC
  • mfrom: (1.1.18 upstream) (14.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091207174809-qp9mqpx55qkidw08
Tags: 1:2.1.15-1ubuntu1
* Merge from Debian experimental, remaining changes:
  - Re-enabled the patch system, we need that. Add quilt in build-deps.
  - 100_fedora-panel-fix.patch:
    Don't discard EDID blocks just because their input type bit
    disagrees with the hardware connection sensing; this usually
    just means the block is lying. (cf. LP: 188549).
  - 105_gf7025_gf7050.patch:
    Fedora patch to add support for 7025/7050 IGP chipsets.
    (LP: 220364)
  - 0001-Move-the-logic-for-matching-devices-out-of-probe-rou.patch
    + Disable the logic for matching devices in the probe routine.
    + Instead match explicitly on pci_id_match (LP: 385658)
  - 0002-Run-the-parsing-script-to-generate-an-initial-list-o.patch
    + Generate the list of devices to match once

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
}
339
339
 
340
340
/* Autogenerated from the DMT spec */
341
 
static const DisplayModeRec DMTModes[] = {
 
341
const DisplayModeRec DMTModes[] = {
342
342
    { MODEPREFIX,    31500,  640,  672,  736,  832, 0,  350,  382,  385,  445, 0, V_PHSYNC | V_NVSYNC, MODESUFFIX }, /* 640x350@85Hz */
343
343
    { MODEPREFIX,    31500,  640,  672,  736,  832, 0,  400,  401,  404,  445, 0, V_NHSYNC | V_PVSYNC, MODESUFFIX }, /* 640x400@85Hz */
344
344
    { MODEPREFIX,    35500,  720,  756,  828,  936, 0,  400,  401,  404,  446, 0, V_NHSYNC | V_PVSYNC, MODESUFFIX }, /* 720x400@85Hz */
448
448
 * part of the DMT pool.  For the 'standard' EDID mode descriptor there's
449
449
 * no way to specify whether the mode should be RB or not.
450
450
 */
451
 
static DisplayModePtr
 
451
DisplayModePtr
452
452
FindDMTMode(int hsize, int vsize, int refresh, Bool rb)
453
453
{
454
454
    int i;
943
943
 * Fill out MonPtr with xf86MonPtr information.
944
944
 */
945
945
void
946
 
xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
 
946
xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
947
947
{
948
948
    DisplayModePtr Modes = NULL, Mode;
949
949
    int i, clock;