Chameleon

Chameleon Commit Details

Date:2011-06-08 14:46:58 (8 years 12 days ago)
Author:Cosmosis Jones
Commit:988
Parents: 987
Message:still futzing
Changes:
M/trunk/i386/libsaio/nvidia.c

File differences

trunk/i386/libsaio/nvidia.c
13211321
13221322
13231323
1324
1324
13251325
13261326
13271327
13281328
1329
13301329
1331
1330
1331
1332
1333
1334
1335
1336
13321337
13331338
13341339
......
13401345
13411346
13421347
1343
1344
13451348
13461349
1350
1351
1352
13471353
13481354
13491355
if (getValueForKey(kdcfg0, &value, &len, &bootInfo->bootConfig) && len == DCFG0_LEN * 2)
{
uint8_t new_dcfg0[DCFG0_LEN];
if (hex2bin(value, new_dcfg0, DCFG0_LEN) == 0)
{
verbose("Using user supplied @0,display-cfg\n");
memcpy(default_dcfg_0, new_dcfg0, DCFG0_LEN);
devprop_add_value(device, "@0,display-cfg", default_dcfg_0, DCFG0_LEN);
printf("@0,display-cfg: %02x%02x%02x%02x\n",
default_dcfg_0[0], default_dcfg_0[1], default_dcfg_0[2], default_dcfg_0[3]); }
default_dcfg_0[0], default_dcfg_0[1], default_dcfg_0[2], default_dcfg_0[3]);
devprop_add_value(device, "@0,display-cfg", default_dcfg_0, DCFG0_LEN);
}
}
{
verbose("Using user supplied @1,display-cfg\n");
memcpy(default_dcfg_1, new_dcfg1, DCFG1_LEN);
devprop_add_value(device, "@1,display-cfg", default_dcfg_1, DCFG1_LEN);
printf("@1,display-cfg: %02x%02x%02x%02x\n",
default_dcfg_1[0], default_dcfg_1[1], default_dcfg_1[2], default_dcfg_1[3]);
devprop_add_value(device, "@1,display-cfg", default_dcfg_1, DCFG1_LEN);
}
}

Archive Download the corresponding diff file

Revision: 988