1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
|
2010-03-07 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fix segfaults with EXA and XV (Ticket #359)
Tested on K8M890 and VN800
* src/via_video.c: (viaReputImage), (viaPutImage):
2010-02-10 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fix bug with suspend and VT switch on VX800 and 64bit systems
* src/via_driver.h:
* src/via_video.c: (viaResetVideo), (viaSaveVideo),
(viaRestoreVideo), (viaExitVideo):
* src/via_video.h:
2009-09-26 Bartosz Kosiorek <gang65@poczta.onet.pl>
Save/restore ECK Clock Synthesizer
* src/via_driver.c: (VIASave), (VIARestore):
* src/via_driver.h:
2009-09-21 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fixed bug with panel autodetection using
ViaPanelGetNativeModeFromScratchPad function
* src/via_panel.c:
2009-09-21 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fixed problem with backlite (Ticket #308)
* src/via_lvds.c: (ViaLVDSSoftwarePowerFirstSequence),
(ViaLVDSSoftwarePowerSecondSequence),
(ViaLVDSHardwarePowerFirstSequence),
(ViaLVDSHardwarePowerSecondSequence), (ViaLVDSPower):
2009-09-15 Bartosz Kosiorek <gang65@poczta.onet.pl>
TV-out VT1625 chip support
* src/via_bios.h:
* src/via_crtc.c: (ViaFirstCRTCSetMode):
* src/via_display.c: (ViaDisplayEnableDVO), (ViaDisplayDisableDVO),
(ViaDisplaySetStreamOnDVO):
* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):
* src/via_mode.c: (ViaTVSetMode), (ViaOutputsSelect), (ViaModeSet):
* src/via_vt162x.c: (ViaSetTVClockSource), (VT1622ModeI2C),
(VT1622ModeCrtc):
* src/via_vt162x.h:
2009-09-15 Bartosz Kosiorek <gang65@poczta.onet.pl>
Cursor support speedup
* src/via_cursor.c: (viaHWCursorInit), (viaCursorStore),
(viaCursorRestore), (viaShowCursor), (viaHideCursor),
(viaSetCursorPosition), (viaLoadCursorImage), (viaLoadCursorARGB):
2009-09-14 Bartosz Kosiorek <gang65@poczta.onet.pl>
Removed two old variables:
pBIOSInfo->panelX
pBIOSInfo->panelY
and replaced it by:
pBIOSInfo->Panel->NativeMode->Width
pBIOSInfo->Panel->NativeMode->Height
* src/via_bios.h:
* src/via_driver.c: (VIASetupDefaultOptions):
* src/via_mode.c: (ViaPanelGetIndex), (VIASetLCDMode),
(ViaModePrimaryLegacy), (ViaModeSecondaryLegacy):
* src/via_swov.c: (SetVideoWindow):
* src/via_video.c: (DecideOverlaySupport):
2009-09-10 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fix bug with DFP Power Off (ticket #317)
* src/via_mode.c: (ViaDFPPower):
2009-08-20 Bartosz Kosiorek <gang65@poczta.onet.pl>
Fix bug with wrong panel size value (http://www.openchrome.org/trac/ticket/301)
This bug appeared only when UseLegacyModeSwitch was TRUE
* src/via_driver.c: (VIASetupDefaultOptions):
* src/via_video.c: (DecideOverlaySupport):
2009-08-17 Bartosz Kosiorek <gang65@poczta.onet.pl>
Added support of the VIA OpenBook
* src/via_id.c:
2009-08-08 Bartosz Kosiorek <gang65@poczta.onet.pl>
Added support for screen rotate upside-down and remove "magic numbers"
* src/via_driver.c:
* src/via_driver.h:
* src/via_shadow.c:
2009-07-28 Jon Nettleton <jon.nettleton@gmail.com>
Forgot to remove an old Dot Clock entry from the table.
* src/via_mode.h:
2009-07-28 Jon Nettleton <jon.nettleton@gmail.com>
XO 1.5 Panel patch contributed by Xavier Bachelot.
Fixup some of the Dotclock code and add working plls
for the XO 1.5
* src/via_bios.h:
* src/via_mode.c: (ViaSetDotclock), (ViaSetPrimaryDotclock),
(ViaSetSecondaryDotclock):
* src/via_mode.h:
* src/via_panel.c:
2009-03-21 Xavier Bachelot <xavier@bachelot.org>
* src/via_bios.h:
* src/via_display.c: (ViaDisplaySetStreamOnDFP):
* src/via_driver.c: (VIAPreInit), (VIASave), (VIARestore),
(VIADPMS):
* src/via_driver.h:
* src/via_mode.c: (ViaDFPDetect), (ViaOutputsDetect),
(ViaOutputsSelect), (ViaDFPPower), (ViaModeSet):
CX700 integrated TMDS (Patch courtesy Tim Chen from VIA).
2009-02-19 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* src/via_driver.c: (VIAScreenInit), (VIAWriteMode):
Initialize CRTC before a mode switch. Fix bug #260.
2009-01-26 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaInitXAA), (viaExaCheckComposite):
a couple of small compatibility fixes for XAA and EXA.
2009-01-17 Jon Nettleton <jon.nettleton@gmail.com>
* libxvmc/viaLowLevel.c: (viaDMAInitTimeStamp):
* src/via_accel.c: (viaDisableVQ):
* src/via_video.c: (viaVideoFillPixmap):
viaLowLevel.c and via_accel.c are fixes by
Bartosz Kosiorek. The via_video.c is a syntax
fix by Robert Bridge. Thanks for the bug fixes.
2009-01-17 Jon Nettleton <jon.nettleton@gmail.com>
* configure.ac:
* src/via_accel.c: (viaInitAccel), (viaExitAccel),
(viaFinishInitAccel):
* src/via_driver.c: (VIASetup), (VIASetupDefaultOptions),
(VIAPreInit), (VIAWriteMode), (VIAInitialize3DEngine):
* src/via_driver.h:
* src/via_memory.c: (viaExaFBSave), (VIAFreeLinear),
(viaOffScreenLinear), (VIAInitLinear):
* src/via_priv.h:
Patch submitted by Robert Bridge, originally started by
Xavier Bachelot, to remove old EXA support. We are moving
forward with the driver and are no longer supporting the
old EXA initializations.
2009-01-14 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaDisableVQ), (viaInitialize2DEngine),
(viaAccelSync):
According to VIA's code the P4M900 should have the same
acceleration initialization registers as the K8M890. This
patch fixes this and gives about a 10x increase in the
video benchmark numbers.
2009-01-14 Jon Nettleton <jon.nettletno@gmail.com>
* src/via_accel.c: (viaFlushPCI):
remove the check for VIA_3D_ENG_BUSY in the idle loop.
This causes xorg to chew a bit more cpu with XAA enabled,
and it causes the entire X server to dump if EXA is enabled.
I should investigate further, but for now I will just remove
it.
2009-01-14 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaFlushPCI):
Oops forgot to change registers for the vx800 chipset
when waiting for Idle in the engines. I also added
back in waiting for the 3d engine to be idle. I am
not sure if this was removed for a reason.
2009-01-07 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_bios.h:
* src/via_crtc.c: (via_xf86crtc_resize), (ViaPreInitCRTCConfig):
* src/via_driver.c: (VIAPreInit):
Temporary hack to fix a bug with newer Xorg and DRI
that crashes if CRTC is not setup. I am adding this
because I am working on this part of the code anyways
so it won't get lost in bit rot.
2009-01-06 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_mode.c: (ViaModesMonitorFixup), (ViaModesAttachHelper):
Make sure that the monitor settings will handle our
internal Modes set for TV out and LCD Panels.
2009-01-05 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_cursor.c: (viaHWCursorInit), (viaLoadCursorImage):
A couple more tweaks to fix mono hardware cursor on older
chipsets.
2009-01-05 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_cursor.c: (viaHWCursorInit), (viaUseHWCursorARGB),
(viaUseHWCursor):
* src/via_driver.c: (VIAScreenInit):
Missed a couple of changes for the chipset specific
cursors. Moved chipset detection to HWInit. Removed
some extraneous debugging.
2009-01-04 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* src/via.h:
* src/via_accel.c: (viaInitialize2DEngine):
* src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode):
* src/via_driver.c: (ViaMMIOEnable), (ViaMMIODisable),
(VIAWriteMode):
* src/via_swov.c: (SetFIFO_V3), (Upd_Video):
* src/via_video.c: (DecideOverlaySupport):
Initial XVideo support for VX800.
2009-01-04 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB),
(viaUseHWCursorARGB), (viaUseHWCursor), (viaLoadCursorImage),
(viaSetCursorColors), (viaLoadCursorARGB):
* src/via_driver.h:
Okay I tried to cheat. We need to have some chipset
specific intelligence. I have added this back into
the initial test to check for HWCursor support.
2009-01-04 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaInitXAA), (viaInitAccel):
* src/via_crtc.c: (ViaSecondCRTCSetStartingAddress):
* src/via_cursor.c: (viaHWCursorInit), (viaCursorSetFB),
(viaCursorStore), (viaCursorRestore), (viaShowCursor),
(viaHideCursor), (viaSetCursorPosition), (viaUseHWCursorARGB),
(viaUseHWCursor), (viaLoadCursorImage), (viaSetCursorColors),
(viaLoadCursorARGB):
* src/via_dga.c: (VIADGASetMode):
* src/via_driver.c: (VIAFreeRec), (VIASetupDefaultOptions),
(VIAPreInit), (VIAEnterVT), (VIALeaveVT), (VIAScreenInit),
(VIACloseScreen):
* src/via_driver.h:
* src/via_regs.h:
This is a take at reworking HWCursor. It works off the
ttm_branch and the work done in the randr_branch. It only needs
marginal testing as HWCursor was already very broken.
2009-01-04 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_driver.c: (VIAMapMMIO), (VIAMapFB):
Moved pVia->FrameBufferBase setting to within
VIAMapFB where it was before being called without
being set.
2009-01-04 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_driver.c: (VIAPreInit):
Patch submitted by Robert Bridge to clean up compiler
warnings. Should close trac ticket #243. Thanks
RobbieAB.
2008-12-29 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaInitXAA):
* src/via_driver.c: (VIAMapMMIO), (VIAMapFB):
Finally tracked down the XAA libpciaccess bug. Also
Realized I had not enabled write-combining on the main
framebuffer. This should give a small speed boost.
2008-12-26 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_mode.h:
Added support for all Modes in ViaPanelNativeModes to
ViaPanelModes. Modes used are from Via's released driver
in ViaSupportModes.
2008-11-04 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_crtc.c: (ViaFirstCRTCSetMode), (ViaSecondCRTCSetMode):
Found needed register writes that are needed so VX800 doesn't
crash when CRT is not enabled. I also removed NEEDS FIXING
comments from them as they are obviously needed.
2008-11-03 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaSubsequentMono8x8PatternFillRect),
(viaSetupForSolidLine), (viaSubsequentSolidHorVertLine),
(viaSetupForDashedLine), (viaAccelMarkSync):
A few more acceleration tweaks for the VX800.
This should fix all the XAA rendering issues.
This should also allow 800x480 Panels to work without
custom modelines.
2008-11-02 Jon Nettleton <jon.nettleton@gmail.com>
* src/via_accel.c: (viaFlushPCI), (viaDisableVQ),
(viaInitialize2DEngine), (viaAccelSync), (viaPitchHelper),
(viaAccelClippingHelper), (viaAccelSolidHelper),
(viaAccelTransparentHelper), (viaAccelCopyHelper),
(viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy),
(viaSetupForSolidFill), (viaSubsequentSolidFillRect),
(viaSetupForMono8x8PatternFill),
(viaSubsequentMono8x8PatternFillRect),
(viaSetupForColor8x8PatternFill),
(viaSubsequentColor8x8PatternFillRect),
(viaSetupForCPUToScreenColorExpandFill),
(viaSubsequentScanlineCPUToScreenColorExpandFill),
(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
(viaSubsequentSolidHorVertLine), (viaSetupForDashedLine),
(viaInitXAA), (viaAccelMarkSync), (viaExaPrepareSolid),
(viaExaSolid), (viaExaPrepareCopy), (viaExaCopy):
* src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO):
* src/via_cursor.c: (viaCursorARGBInit), (viaCursorARGBShow),
(viaCursorARGBHide), (viaCursorARGBSetPosition),
(viaCursorRecInit):
* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
(VIALeaveVT), (VIACloseScreen):
* src/via_driver.h:
* src/via_id.c:
* src/via_id.h:
* src/via_mode.c: (ViaOutputsSelect), (VIAGetPanelSize),
(ViaPanelGetIndex):
* src/via_mode.h:
* src/via_panel.c: (ViaPanelPreInit):
* src/via_regs.h:
* src/via_swov.c: (VIAVidHWDiffInit), (viaCalculateVideoColor),
(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16):
* src/via_video.c: (viaInitVideo):
Initial support for the VX800 chipset. This is based off the
Basic chipset support work of Xavier Bachelot and the inital
Acceleration work done by Harald Welte. I verified the changes
based off the most recent VIA codebaase and fixed a couple of
rendering issues.
Still needs more work on EXA ( font rendering glitches ) and
XVideo.
2008-05-26 Gabriel Mansi <gabriel.mansi@gmail.com>
* src/Makefile.am:
* src/via_accel.c: (viaInitAccel):
* src/via_bios.h:
* src/via_crtc.c: (ViaCRTCSetGraphicsRegisters),
(ViaCRTCSetAttributeRegisters), (ViaCRTCInit),
(ViaFirstCRTCSetMode), (ViaFirstCRTCSetStartingAddress),
(ViaSecondCRTCSetStartingAddress),
(ViaSecondCRTCHorizontalQWCount), (ViaSecondCRTCHorizontalOffset),
(ViaSecondCRTCSetMode), (ViaFirstCRTCModeValid),
(ViaSecondCRTCModeValid), (ViaShadowCRTCSetMode):
* src/via_cursor.c: (viaCursorARGBInit), (viaCursorSetFB),
(viaCursorHWInit), (viaCursorHWShow), (viaCursorHWHide),
(viaCursorShow), (viaCursorHide), (viaCursorLoadImage),
(viaCursorHWSetPosition), (viaCursorSetPosition),
(viaCursorSetColors), (viaCursorStore), (viaCursorRestore),
(viaCursorARGBShow), (viaCursorARGBHide),
(viaCursorARGBSetPosition), (viaCursorARGBUse),
(viaCursorARGBLoad), (viaCursorRecInit), (viaCursorRecDestroy),
(viaCursorHWUse):
* src/via_dga.c: (VIADGASetMode):
* src/via_display.c: (ViaSecondDisplayChannelEnable),
(ViaSecondDisplayChannelDisable), (ViaDisplayInit),
(ViaDisplayEnableSimultaneous), (ViaDisplayDisableSimultaneous),
(ViaDisplayEnableCRT), (ViaDisplayDisableCRT),
(ViaDisplaySetStreamOnCRT):
* src/via_driver.c: (VIAGetRec), (VIAFreeRec),
(VIASetupDefaultOptions), (VIAPreInit), (VIAEnterVT), (VIALeaveVT),
(ViaGammaDisable), (VIASave), (VIARestore), (ViaMMIOEnable),
(ViaMMIODisable), (VIAMapMMIO), (VIAUnmapMem), (VIALoadPalette),
(VIAScreenInit), (VIAWriteMode), (VIACloseScreen),
(VIAAdjustFrame), (VIADPMS):
* src/via_driver.h:
* src/via_lvds.c: (ViaLVDSPowerFirstSequence),
(ViaLVDSPowerSecondSequence), (ViaLVDSDFPPower),
(ViaLVDSPowerChannel), (ViaLVDSPower):
* src/via_mode.c: (ViaPrintMode), (ViaOutputsSelect),
(VIAGetPanelSize), (ViaPanelGetIndex), (ViaModesAttach),
(ViaValidMode), (VIASetLCDMode), (ViaModePrimaryLegacy),
(ViaModeSecondaryLegacy), (ViaLCDPower), (ViaModeFirstCRTC),
(ViaModeSecondCRTC), (ViaModeSet):
* src/via_panel.c: (ViaPanelLookUpModeIndex),
(ViaPanelGetNativeModeFromOption),
(ViaPanelGetNativeModeFromScratchPad), (ViaPanelScaleDisable),
(ViaPanelScale), (ViaPanelGetNativeDisplayMode), (ViaPanelPreInit),
(ViaPanelCenterMode), (ViaPanelGetSizeFromEDID),
(ViaPanelGetSizeFromDDCv1), (ViaPanelGetSizeFromDDCv2):
* src/via_regs.h:
* src/via_swov.c: (Upd_Video):
* src/via_timing.c: (froundf), (timingGenerateMode),
(viaTimingCvt), (viaTimingGtf):
* src/via_timing.h:
* src/via_vbe.c: (ViaVbeGetActiveDevices), (ViaVbeSetMode),
(ViaVbeDoDPMS):
* src/via_video.c: (DecideOverlaySupport), (viaSaveVideo),
(viaRestoreVideo):
Merge panel code from randr branch (rev. 427 to 553)
Add native mode setting for P4M890, P4M900, K8M890 and CX700
Add LVDS power functions for P4M900 and CX700
Add ARGB hardware cursor support
2008-03-11 Xavier Bachelot <xavier-at-bachelot-dot-org>
* configure.ac:
* src/via.h:
* src/via_dri.c: (VIADRIIrqInit), (VIADRIScreenInit):
* src/via_driver.c: (via_pci_device), (via_host_bridge),
(viaPciDeviceVga), (if), (switch):
* src/via_driver.h:
* src/via_id.c: (ViaCheckCardId):
Merge changes from pciaccess branch.
2008-02-19 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/via_driver.c: (VIAPreInit):
Dealing with the NoAccel option before the Rotate option, since
the latter overrides the first.
2008-01-28 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/Makefile.am:
Recreating svnversion.h only when a source file has changed.
2008-01-18 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/via_dri.c: (VIAInitVisualConfigs):
Condensing an unneeded code duplication.
2008-01-11 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/openchrome.man:
* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit):
Removing the redundant HWCursor option.
2008-01-10 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/openchrome.man: Tweaking the text, clarifying the effect
of an option, giving the default value.
2008-01-08 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/via_accel.c: (viaBitExpandHelper), (viaPixelARGB8888):
Moving a little more computation into the helper function.
2007-10-29 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/via_driver.c: (VIAPreInit):
Redoing the second change of June 10: Printing VideoRAM again
only when it's actually been probed; plus further tiny code
cleanups: comments, line wraps, whitespace.
2007-10-29 Benno Schulenberg <bensberg-at-justemail-dot-net>
* src/via_driver.c: (VIAPreInit):
Redoing the first change of June 10: Putting the chipset and
revision print statements together at the beginning; moving
the reading of the VideoRAM option to after X has parsed the
config file; plus a few small layout tweaks.
2007-10-05 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* src/via_swov.c: (Upd_Video):
Enable colorkey on secondary.
2007-10-03 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* src/via_driver.c: (VIAPreInit):
Fix memory detection for P4M900 and CX700.
2007-09-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* src/via_bios.h:
* src/via_driver.c: (VIAWriteMode), (VIAAdjustFrame),
(VIASwitchMode):
* src/via_mode.c: (ViaModeSecondaryVGAFetchCount),
(ViaModeSecondaryVGAOffset), (ViaModeSecondaryVGA):
* src/via_swov.c: (Upd_Video):
* src/via_vbe.c: (ViaVbeSetPanelMode), (ViaVbeSetMode):
Fix offset when using vbe modes on secondary.
2007-09-11 Xavier Bachelot <xavier-at-bachelot-dot-org>
* libxvmc/viaLowLevel.c: (initXvMCLowLevel):
* libxvmc/viaLowLevel.h:
* libxvmc/viaLowLevelPro.c: (initXvMCLowLevel):
* src/via.h:
* src/via_accel.c: (viaInitExa):
* src/via_bandwidth.c: (ViaSetPrimaryFIFO):
* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
(VIASave), (VIARestore), (VIALoadPalette):
* src/via_driver.h:
* src/via_id.c:
* src/via_mode.c: (ViaOutputsDetect):
* src/via_priv.h:
* src/via_swov.c: (Upd_Video):
* src/via_vbe.c: (ViaVbeInitInt10), (ViaVbeGetRefreshRateIndex),
(ViaVbeGetActiveDevices), (ViaVbeSetActiveDevices),
(ViaVbeSetPanelExpansion), (ViaVbeSetRefresh), (ViaVbeSetMode),
(ViaVbeSaveRestore), (ViaVbeModePreInit):
* src/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext):
Sync with experimental_branch.
2007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_id.c:
Added Gigabyte GA-VM900M ID, reported by Alexandre Penasso Teixeira.
2007-09-07 Gabiel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* libxvmc/viaLowLevel.c: (initXvMCLowLevel):
* libxvmc/viaLowLevel.h:
* libxvmc/viaLowLevelPro.c: (initXvMCLowLevel):
* unichrome/via.h:
* unichrome/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
(VIASave), (VIARestore), (VIALoadPalette):
* unichrome/via_driver.h:
* unichrome/via_mode.c: (ViaOutputsDetect):
* unichrome/via_swov.c: (Upd_Video):
* unichrome/via_vbe.c: (ViaVbeInitInt10),
(ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices),
(ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion),
(ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeSaveRestore),
(ViaVbeModePreInit):
* unichrome/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext):
Merged vn896_branch from revision 361 to 391.
2007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_mode.c: (ViaOutputsDetect):
* unichrome/via_vbe.c: (ViaVbeSetActiveDevices):
Disabled TV detection for P4M900.
2007-09-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_driver.h:
* unichrome/via_vbe.c: (ViaVbeInitInt10),
(ViaVbeGetRefreshRateIndex), (ViaVbeGetActiveDevices),
(ViaVbeSetActiveDevices), (ViaVbeSetPanelExpansion),
(ViaVbeSetRefresh), (ViaVbeSetMode), (ViaVbeModePreInit):
VBE code cleanup.
2007-09-02 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_driver.c: (VIASetupDefaultOptions), (VIASave),
(VIARestore):
* unichrome/via_vbe.c: (ViaVbeSetMode):
Disabled XvDMA for P4M900.
Modified VBE functions calling order.
2007-08-18 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_driver.c: (VIASetupDefaultOptions):
* unichrome/via_priv.h:
* unichrome/via_swov.c: (Upd_Video):
Xvideo code cleanup; added maximum resolution with
interpolation for all chipsets.
2007-08-03 Xavier Bachelot <xavier-at-bachelot-dot-org>
* src/via_bios.h:
* src/via_mode.h:
* src/via_video.c: (DecideOverlaySupport):
Add basic support for DDR667.
2007-07-31 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* src/via_xvmc.c: (ViaInitXVMC):
Fixed the xvmc name we register. Was still looking for
the old via xvmc library names.
2007-07-04 Xavier Bachelot <xavier-at-bachelot-dot-org>
* configure.ac:
* src/via_driver.c: (VIAPreInit):
* src/via_driver.h:
Bump driver version to 0.2.900.
Do not log detected chipset 2 times.
Remove duplicate changelog entry.
2007-06-20 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO)
FIFO settings for CX700.
2007-06-14 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* configure.ac:
* libxvmc/viaLowLevel.h:
* src/via.h:
* src/via_accel.c: (viaFlushPCI), (viaInitPCIe), (viaEnableAgpVQ),
(viaEnablePCIeVQ), (viaDisableVQ), (viaInitialize2DEngine),
(viaAccelSync), (viaInitXAA), (viaInitExa), (viaInitAccel):
* src/via_bandwidth.c: (ViaSetPrimaryFIFO), (ViaSetSecondaryFIFO):
* src/via_dri.c: (VIADRIRingBufferInit):
* src/via_driver.c: (VIASetupDefaultOptions), (VIAPreInit),
(VIALeaveVT), (VIASave), (VIAScreenInit), (VIACloseScreen):
* src/via_driver.h:
* src/via_id.c: (ViaDoubleCheckCLE266Revision), (ViaCheckCardId):
* src/via_id.h:
* src/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary):
* src/via_mode.h:
* src/via_regs.h:
* src/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVDone),
(VIAVidHWDiffInit), (viaCalculateVideoColor), (viaSetColorSpace),
(ViaInitVideoStatusFlag), (ViaSetVidCtl), (AddHQVSurface),
(SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16),
(SetColorKey), (SetChromaKey), (SetHQVFetch), (Upd_Video),
(VIAVidUpdateOverlay), (ViaOverlayHide):
* src/via_swov.h:
* src/via_vbe.c: (ViaVbeSetMode):
* src/via_video.c: (DecideOverlaySupport), (viaInitVideo), (Flip),
(viaDmaBlitImage), (viaPutImage):
* src/via_video.h:
* src/via_xvmc.c: (ViaInitXVMC):
Pulled in Changes from the experimental_branch including
- Partial support for VIA_K8M890, VIA_P4M900, VIA_CX700,
VIA_P4M890
- Added the VideoEngine option to help clean up code
- Ability to enable debugging with the configure script
2007-06-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via.h:
* unichrome/via_dri.c: (VIADRIRingBufferInit):
* unichrome/via_driver.c:
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_swov.c: (viaCalculateVideoColor),
(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
(SetFIFO_V3), (SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16),
(Upd_Video):
* unichrome/via_vbe.c: (ViaVbeSetMode):
* unichrome/via_video.c: (DecideOverlaySupport):
Renamed VT3157 to VT3324.
Added check for null data block in vbe.
Remove version check for older version of Xorg.
2007-06-12 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via.h:
Added missing includes.
2007-06-10 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.c: (VIAPreInit):
Print VideoRAM again only when it's actually been probed.
Further tiny code cleanups: comments, line wraps, whitespace.
2007-06-10 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via.man:
* unichrome/via_driver.c: (VIAPreInit):
Move reading of the VideoRAM option to after X has parsed the
config file. Also put the chipset and revision print statements
together and at the beginning. Plus several small layout tweaks.
2007-06-07 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* Makefile.am:
* configure.ac:
* libxvmc/Makefile.am:
* man/Makefile.am:
* src/Makefile.am:
* src/via_driver.c:
* src/via_driver.h:
Renaming driver to openchrome_drv.so and XvMC library to
libchromeXvMC.so.
2007-06-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_driver.c:
Removed the chipset option definitions that aren't in
trunk yet.
2007-06-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_driver.c:
* unichrome/via_driver.h:
* unichrome/via.man:
Added per-chipset option defaults. This should allow the
driver to work out of the box with almost all hardware and
xorg.conf configurations.
2007-05-23 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via.h:
Remove version check for older version of Xorg. This is
really not necessary anymore, and was causing some breakage
with xorg-server's new version numbering.
2007-05-18 Xavier Bachelot <xavier-at-bachelot-dot-org>
* libxvmc/Makefile.am:
* libxvmc/viaXvMC.c: (XvMCCreateContext):
Backport 2 fixes from Xorg tree.
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=362e03a38682bfcf366242c53444fa36b6052794
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-via.git;a=commit;h=3cd7dac2b5a1c4bfb66bd1b67904d72dc08cbd0e
2007-05-15 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via.h:
* unichrome/via_driver.c: (VIASetupDefaultOptions):
* unichrome/via_driver.h:
* unichrome/via_swov.c: (viaWaitHQVFlip), (SetColorKey),
(SetChromaKey), (Upd_Video):
* unichrome/via_video.c: (Flip), (viaDmaBlitImage), (viaPutImage):
Xv code cleanup.
2007-05-10 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_driver.c:
* unichrome/via_driver.h:
* unichrome/via.man:
Added per chipset option defaults. This should allow the
driver to install and work out of the box with almost all
hardware and xorg.conf configurations.
2007-05-07 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* libxvmc/viaLowLevel.h:
* unichrome/via_accel.c: (viaFlushPCI), (viaDisableVQ),
(viaAccelSync):
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_dri.c: (VIADRIRingBufferInit):
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_id.c:
* unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit),
(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey),
(SetChromaKey), (Upd_Video):
* unichrome/via_video.c: (DecideOverlaySupport), (Flip),
(viaDmaBlitImage), (viaPutImage):
Fix Xv for P4M890.
2007-04-30 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_swov.c: (Upd_Video):
* unichrome/via_xvmc.c: (ViaInitXVMC):
Disable interpolation when the source width is greater than 800,
otherwise the picture wraps around the screen (bug #109).
Fix a typo in ViaInitXVMC (bug #111).
2007-04-14 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_id.c: (ViaDoubleCheckCLE266Revision),
(ViaCheckCardId):
VN -> VM, message tweaks, and trailing white space fixes.
2007-03-28 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO):
* unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit),
(viaSetColorSpace), (ViaInitVideoStatusFlag), (ViaSetVidCtl),
(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey),
(SetChromaKey), (Upd_Video):
* unichrome/via_video.c: (Flip), (viaDmaBlitImage), (viaPutImage):
Fix Xv for CX700.
2007-03-20 Xavier Bachelot <xavier-at-bachelot-dot-org>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_dri.c: (VIADRIRingBufferInit):
* unichrome/via_driver.c:
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary):
* unichrome/via_mode.h:
* unichrome/via_swov.c: (VIAVidHWDiffInit),
(viaCalculateVideoColor), (viaSetColorSpace),
(ViaInitVideoStatusFlag), (SetFIFO_V3), (SetFIFO_V3_64or32or32):
* unichrome/via_video.c: (viaInitVideo):
* unichrome/via_xvmc.c: (ViaInitXVMC):
Initial support for P4M890.
2007-03-09 Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>
* unichrome/via_accel.c: (viaFlushPCI), (viaAccelSync),
(viaInitXAA):
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_driver.c: (VIAPreInit), (VIALeaveVT),
(VIACloseScreen):
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary):
* unichrome/via_mode.h:
* unichrome/via_swov.c: (viaWaitHQVFlip), (VIAVidHWDiffInit),
(viaCalculateVideoColor), (viaSetColorSpace),
(ViaInitVideoStatusFlag), (ViaSetVidCtl), (SetFIFO_V3_64or32or32),
(SetFIFO_V3_64or32or16), (SetColorKey), (SetChromaKey),
(Upd_Video):
* unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo),
(Flip), (viaDmaBlitImage), (viaPutImage):
* unichrome/via_xvmc.c: (ViaInitXVMC):
Initial support for P4M900.
2007-03-08 Xavier Bachelot <xavier-at-bachelot-dot-org>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_dri.c: (VIADRIRingBufferInit):
* unichrome/via_driver.c:
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_mode.c: (ViaGetMemoryBandwidth), (ViaModePrimary):
* unichrome/via_mode.h:
* unichrome/via_swov.c: (VIAVidHWDiffInit),
(viaCalculateVideoColor), (viaSetColorSpace),
(ViaInitVideoStatusFlag), (SetFIFO_V3), (SetFIFO_V3_64or32or32):
* unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo):
* unichrome/via_xvmc.c: (ViaInitXVMC):
Initial support for CX700.
2007-03-04 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via.man:
Textual tweaks and options ordered alphabetically.
2007-02-16 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_accel.c: (viaSetClippingRectangle),
(viaAccelSolidHelper), (viaAccelCopyHelper),
(viaSubsequentMono8x8PatternFillRect),
(viaSubsequentColor8x8PatternFillRect),
(viaSubsequentSolidTwoPointLine), (viaSubsequentSolidHorVertLine):
Limit x value to sixteen bits. Fixes a rendering glitch reported
by Marg Huijgen <mark-dot-sf-dot-net-at-huijgen-dot-tk>; solution
found by Thomas.
2007-02-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaFlushDRIEnabled),
(viaSubsequentSolidTwoPointLine):
Fix line-clipping bug reported by Manuel Bilderbeek
<manuel-dot-bilderbeek-at-oce-dot-com>.
2007-02-06 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.c:
Try CR39 when CR34 says zero during memory detection on
the CLE266. Idea from Luc Verhaegen, patch by Mark Huijgen
<mark-dot-sf-dot-net-at-huijgen-dot-tk>.
2007-01-20 Benno Schulenberg <bensberg-at-justemail-dot-net>
* ChangeLog
Switch encoding of ChangeLog file to Unicode.
Whitespace and format adjustments.
2007-01-20 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.c: (VIALoadRgbLut), (VIALoadPalette),
(VIAScreenInit):
Add ability to change gamma setting. Original patch by
Gonzalo A. de la Vega <gadelavega-at-gmail-dot-com>,
adapted from Luc Verhaegen's implementation.
2006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaExaTexUploadToScreen):
Work around an obscure hardware limitation when texturing from
AGP.
2006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_dri.c: (VIASetAgpMode):
Fix AGP mode setting.
2006-12-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
Use non-power-of-two textures for EXA whenever possible.
2006-12-18 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_xvmc.c:
Thomas needs a good drm test which means we need XvMC. I
have re-enabled it for testing.
2006-12-15 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via.h:
* unichrome/via_swov.c:
This is my cleanup commit of the excellent patch that
Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com> provided,
which finishes the XVideo work on the VT3336 chipset. Nice
work Gabriel.
2006-12-13 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_video.c:
Don't use HQV Offset for HQV_CONTROL.
2006-12-11 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_video.c:
* unichrome/via_swov.c:
Looks like the VT3336 has the same offset as the VT3259
for the hardware overlay.
2006-12-10 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_memcpy.c:
* unichrome/via_swov.c:
Removed the previous changes; I am not ready to rewrite
the assembly code for x86_64.
The ColorSpace registers were being set up incorrectly
for VT3336.
2006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_memcpy.c:
The ifdef's in memcpy.c only support i386 arch; should
also support i86_64.
2006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_xvmc.c:
K8M890 does not support XvMC like the other chipsets;
disable it for now.
2006-12-09 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_video.h:
* unichrome/via_swov.h:
* unichrome/via_swov.c:
Made K8M890 XV FIFO settings match K8M800.
Enabled XV_DEBUG.
2006-12-07 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_mode.h:
Updated the BandwidthTable for K8M890 chipset.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAEnterVT):
Initialize the AGP ring buffer before command submission.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAEnterVT):
Blank and clear screen when entering VT.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAEnterVT):
Blank and clear screen when entering VT.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaAccelDMADownload),
(viaExaDownloadFromScreen), (viaInitExa):
Indent via_accel.c.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaAccelDMADownload):
Fix download from screen which was reusing kernel argument
data that was altered by the kernel.
2006-12-07 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaAccelDMADownload),
(viaExaDownloadFromScreen):
Reimplement download from screen to something more easily
debuggable.
2006-12-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_driver.c:
Fixed some of the boolean option changes that are
inverses such as DisableIRQ.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_memory.c: (viaExaFBSave), (viaOffScreenLinear):
Cause a "FatalError" if EXA is used with an un-patched Xserver,
and an illegal save locked memory action is requested.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAInitialize3DEngine):
Proper register names in VIAInitialize3DEngine.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIALeaveVT), (VIAWriteMode),
(VIACloseScreen):
* unichrome/via_vbe.c: (ViaVbeSetMode):
Now that we initialize the 3D engine every time we write
mode, make sure this is done before setting up VQ and AGP
so that those settings persist. The GPU will be unstable
otherwise.
Also fix some code comments.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIALeaveVT):
Force 3D context upload after a VT switch.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_dri.c: (viaDRIFBMemcpy), (viaDRIOffscreenSave):
Fix up previous commit for > 16MB sizes.
2006-12-06 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_dri.c: (viaDRIOffscreenSave),
(viaDRIOffscreenRestore):
* unichrome/via_driver.c: (VIAEnterVT), (VIALeaveVT):
* unichrome/via_driver.h:
Back up DRI offscreen memory before leaving VT and restore it
when entering VT. It may be overwritten in between.
Use PCI DMA blit for this if available.
2006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAWriteMode), (VIAInitialize3DEngine):
* unichrome/via_vbe.c: (ViaVbeSetMode):
With EXA + 3D we need to reinitialize the 3D engine after
a mode switch (possibly the soft reset + 2D engine
initialization). Otherwise the GPU will hang.
2006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAPreInit):
Fix the dma2d option setting.
2006-12-05 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO):
Use a more aggressive fifo setting for CLE266 Cx.
Boosts performance.
Please report problems with this.
2006-12-05 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_video.c:
* unichrome/via_swov.c:
Added missing hardware overlay support for VT3336.
2006-12-04 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_driver.c:
Added patch to fix the K8M890 hang on VT switch; submitted
by Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>.
2006-12-01 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via.man:
* unichrome/via_bios.h:
* unichrome/via_dri.c: (VIADRIScreenInit):
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_driver.h:
Remove unused options.
First pass cleaning up option handling.
Make most boolean options work as expected;
(that is, accepting both a "true" and a "false" argument).
2006-11-30 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_mode.c:
* unichrome/via_accel.c:
Added patch to fix some of the K8M890 logic; submitted by
Gabriel Mansi <gabriel-dot-mansi-at-gmail-dot-com>.
2006-11-28 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_bandwidth.c:
* unichrome/via_accel.c:
Patched via_bandwidth.c for dumb mistake I made. Thanks, Gabriel
Mansi, for the second set of eyes. Move HWCursor memory allocation
even further in the driver initialization.
2006-11-25 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_id.c:
* unichrome/via_accel.c:
Added additional IDs for the K8M890 cards.
Changed memory allocation order for the HW cursor and 2D engine.
2006-10-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/viaLowLevel.c:
* libxvmc/viaLowLevelPro.c:
* unichrome/via_regs.h:
Via managed to mix up the 2D / 3D engine busy status bits.
Funny we never noticed this before.
2006-10-24 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_xvmc.c: (ViaXvMCCreateContext):
Remove VT3314 (CN700, VM800 etc.) mpeg2 AGP DMA support.
2006-10-11 Xavier Bachelot <xb_ml-at-kelkoo-dot-net>
reviewed by: Ivor
* unichrome/via_bios.h:
* unichrome/via_id.c:
* unichrome/via_mode.h:
* unichrome/via_video.c: (DecideOverlaySupport):
DDR533 memory support and small cleanup.
Fujitsu/Siemens Amilo L7320 pci id (reported by DeNayGo).
2006-10-03 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_video.c: (viaPutImage):
Removed some stray debug messages.
2006-10-02 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.c: (VIASave), (VIARestore):
Moved a line to after declarations for picky gcc-2.96,
tweaked comments and debugging lines.
2006-09-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_memory.c:
Don't include drm headers in non-dri build.
2006-09-25 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/Makefile.am:
Mention the overall revision number in the log, not just
the driver code revision.
2006-09-24 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/viaLowLevel.c: (initXvMCLowLevel):
* libxvmc/viaLowLevelPro.c: (initXvMCLowLevel):
* libxvmc/viaXvMC.c: (XvMCSetAttribute):
Fix a mutex unlocking issue (Luc Verhaegen).
Have the lowlevel drivers check for the correct chipid.
2006-09-24 Michal Ludvig <michal-at-logix-dot-cz>
* man/Makefile.am:
Fix man-page symlink for out-of-tree build (trac ticket #50).
2006-09-22 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* unichrome/via_drmclient.h:
Include stdint.h instead of re-typedefining CARD32.
2006-09-22 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* src/via_id.h
* src/via_video.c
* src/via_mode.c
* src/via_mode.h
* src/via_driver.c
* src/via_swov.c
* src/via_bandwidth.c
* src/via_accel.c
* src/via_vbe.c
* src/via_xvmc.c
* src/via_id.c
Initial code for support of VT3336 cards.
2006-09-17 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.c: (VIASave):
Put in a few extra debugging lines.
2006-09-05 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_swov.c:
Comment and whitespace tweaks.
2006-09-05 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_id.c:
Add an ID (trac ticket #67), note identical numbers, remove
a duplicate, remove obsolete unknown, remove trailing tab.
2006-08-27 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_id.c:
Textual tweaks.
2006-08-27 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_dri.c: (VIADRIAgpInit):
Rearrange declarations to fix compilation problem with gcc-2.96,
reported by Nikolai V. Ivanyushin <nvi-at-sven-dot-ru>.
2006-08-22 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_accel.c:
Whitespace adjustment; getting back close to Xorg.
Comment tweaks and #endif clarifications.
2006-08-19 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_swov.c: (viaWaitVideoCommandFire),
(SetVideoWindow):
Comment tweaks.
2006-08-18 Benno Schulenberg <bensberg-at-justemail-dot-net>
* unichrome/via_driver.h:
Move definition of AGP_SIZE out of #ifdef VIA_HAVE_EXA block,
to make the driver compile again for Xorg-6.8.2.
2006-08-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_mode.c: (ViaModeDotClockTranslate):
* unichrome/via_video.c: (viaPaintColorkey):
Re-enable Ivor's Dotclock computation.
Enable accelerated redirected colorkey painting for Xv.
2006-07-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c: (VIAPreInit):
...And get default AGP size correct as well.
2006-07-28 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaIsAGP):
* unichrome/via_dri.c: (VIADRIAgpInit):
Fix false AGP detection and make sure we have the correct AGP
size.
2006-07-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via.man:
* unichrome/via_accel.c: (viaExaUploadToScratch),
(viaExaCheckComposite), (viaIsAGP), (viaInitExa), (viaInitAccel):
* unichrome/via_ch7xxx.c: (ViaCH7xxxInit):
* unichrome/via_dri.c: (VIADRIAgpInit):
* unichrome/via_driver.c: (VIAPreInit), (VIAEnterVT), (VIALeaveVT),
(VIAScreenInit), (VIACloseScreen):
* unichrome/via_driver.h:
Changes donated by "PConRails, LLC" and "Tungsten Graphics, Inc.":
EXA and memory management optimizations, Manpage update.
New options:
ExaScratchSize
MaxDRIMem
AGPMem
VBESaveRestore
2006-07-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via.h:
* unichrome/via_accel.c:
* unichrome/via_dri.h:
* unichrome/via_driver.h:
* unichrome/via_mode.c: (ViaModeDotClockTranslate):
* unichrome/via_swov.c: (ViaOverlayHide):
* unichrome/via_video.c: (DecideOverlaySupport),
(viaVideoFillPixmap), (viaPaintColorkey), (viaReputImage),
(viaPutImage):
Changes donated by "PConRails, LLC" and "Tungsten Graphics, Inc.":
Video optimizations:
Paint colorkey correctly under composite manager.
Make sure the driver compiles with Xorg git.
Don't reset the primary display FIFO after XV. It's never touched
by the Xv code, and slows things down in VBE mode.
2006-07-11 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/viaXvMC.c:
* unichrome/via_dri.c:
Change DRM major compatibility from 3.x.x to 2.x.x.
2006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/driDrawable.c:
* libxvmc/viaLowLevel.c:
* libxvmc/viaLowLevelPro.c: (finish_header_agp),
(computeHQVScaleAndFilter):
* libxvmc/viaXvMC.c: (yOffs), (vOffs), (uOffs), (defaultQMatrices),
(releaseDecoder), (grabDecoder), (setupAttribDesc),
(releaseAttribDesc), (releaseContextResources),
(XvMCCreateContext), (XvMCDestroyContext), (XvMCCreateSurface),
(XvMCDestroySurface), (XvMCPutSlice2), (XvMCPutSlice),
(updateXVOverlay), (XvMCPutSurface), (debugControl),
(XvMCBeginSurface), (XvMCSyncSurface), (XvMCLoadQMatrix),
(XvMCRenderSurface), (XvMCCreateBlocks), (XvMCDestroyBlocks),
(XvMCCreateMacroBlocks), (XvMCDestroyMacroBlocks),
(XvMCCreateSubpicture), (XvMCSetSubpicturePalette), (findOverlap),
(XvMCClearSubpicture), (XvMCCompositeSubpicture),
(XvMCBlendSubpicture), (XvMCBlendSubpicture2),
(XvMCSyncSubpicture), (XvMCFlushSubpicture),
(XvMCDestroySubpicture), (XvMCGetSubpictureStatus),
(XvMCFlushSurface), (XvMCGetSurfaceStatus), (XvMCQueryAttributes),
(XvMCSetAttribute), (XvMCGetAttribute), (XvMCHideSurface):
* libxvmc/xf86dri.c:
Remove the "config.h" includes from libxvmc, as they break it.
I wonder how the openChrome libXvMC has been working?
Indent viaXvMC.c.
2006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/viaXvMC.c: (XvMCCreateContext):
* unichrome/via_dri.c: (VIADRIRingBufferInit), (VIADRIScreenInit):
* unichrome/via_xvmc.c: (ViaInitXVMC):
Update DRM version checking.
2006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_swov.c: (viaWaitVideoCommandFire):
Increase video command fire timeout.
2006-07-10 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_memory.c: (viaOffScreenLinear):
Fix dri close screen segfault caused by previous commit.
2006-06-15 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_dri.c: (VIADRIFBInit):
* unichrome/via_driver.h:
* unichrome/via_memory.c: (viaOffScreenLinear), (VIAAllocLinear):
Fix severe dri memory allocation bug. (Reported by Trevor Kramer)
2006-05-11 Ivor Hewitt <ivor-at-ivor-dot-org>
* configure.ac:
* unichrome/via.h:
* unichrome/via_accel.c:
* unichrome/via_cursor.c:
* unichrome/via_dri.c:
* unichrome/via_driver.h:
* unichrome/via_memcpy.c:
* unichrome/via_memory.c:
* unichrome/via_mode.c:
* unichrome/via_shadow.c:
* unichrome/via_swov.c:
* unichrome/via_vbe.c:
* unichrome/via_vgahw.c:
* unichrome/via_video.c:
* unichrome/via_xvmc.c:
- Xorg xv ABI compatibility patch. (Marcin Kurek)
2006-04-14 Ivor Hewitt <ivor-at-ivor-dot-org>
* libxvmc/Imakefile:
- Unbreak makefile.
2006-03-19 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/Makefile.am:
* unichrome/Makefile.am:
- Backport Makefile changes form xorg.
2006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c:
- Update the built-against macro to recognize Xorg if present.
(Reported by Eric Anholt)
2006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* configure.ac:
- Update compatibility check for XvMC.
2006-03-17 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaInitExa):
* unichrome/via_driver.c: (VIAPreInit):
- Support EXA 2.0.
2006-03-13 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaSetupForSolidLine),
(viaSubsequentSolidTwoPointLine), (viaSetupForDashedLine):
* unichrome/via_driver.h:
- Possible fix for XAA bug rendering solid lines as dashed.
(Reported by Lewin Edwards)
2006-03-08 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/Imakefile:
* unichrome/via_swov.c:
* unichrome/via_swov.h:
* unichrome/via_video.c: (viaInitVideo), (viaExitVideo),
* unichrome/via_video.h:
* unichrome/via_xvmc.c: (initViaXvMC), (cleanupViaXvMC), (stride),
* unichrome/via_xvmc.h:
* unichrome/via_xvpriv.h:
- Run indent on above files after syncing them with Xorg.
2006-02-23 Xavier Bachelot <xb_ml AT kelkoo DOT net>
* configure.ac:
- Fix man pages suffix.
- Bump driver version number to be equal to xorg.
2006-02-21 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_bios.h:
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_mode.h:
* unichrome/via_priv.h:
* unichrome/via_swov.c: (viaOverlayGetV1V3Format),
(viaOverlayGetSrcStartAddress), (viaOverlayGetFetch),
(CreateSurface), (ViaSwovSurfaceCreate), (ViaSwovSurfaceDestroy),
(VIAVidUpdateOverlay), (ViaOverlayHide):
* unichrome/via_video.c: (viaInitVideo), (Flip), (viaDmaBlitImage),
(viaPutImage), (viaQueryImageAttributes):
- Lets have RV32 too.
- Add 12x8 panel.
2006-02-10 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via.h:
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_dri.c: (VIADRIRingBufferInit):
* unichrome/via_mode.c: (ViaModePrimary):
* unichrome/via_swov.c: (VIAVidHWDiffInit),
(viaOverlayGetSrcStartAddress), (viaOverlayGetFetch),
(viaCalculateVideoColor), (viaSetColorSpace),
(ViaInitVideoStatusFlag), (ViaSetVidCtl), (SetFIFO_V3),
(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey),
(SetChromaKey), (SetHQVFetch), (Upd_Video):
* unichrome/via_video.c: (DecideOverlaySupport), (viaInitVideo),
(viaDmaBlitImage):
* unichrome/via_xvmc.c: (ViaInitXVMC), (ViaXvMCCreateContext):
- Get some code exercised for VM800, let's see where it crumbles.
2006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_vbe.c: (ViaVbeSetMode):
- Fix VBE refresh setting.
2006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_accel.c: (viaInitExa):
* unichrome/via_driver.c: (VIAPreInit):
- Merge EXA branch revisions 152:155
2006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_swov.c:
* unichrome/via_video.c: (viaXvError), (viaReputImage),
(viaSetupAdaptors), (viaDmaBlitImage), (viaPutImage):
* unichrome/via_xvpriv.h:
- Removed time.h and sys/time.h includes from via_swov.c
(Reported by George E Sollish).
- More verbose Xv error reporting.
2006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via.man:
* unichrome/via_3d.c:
* unichrome/via_accel.c: (viaAccelPlaneMaskHelper), (viaInitExa),
(viaInitAccel), (viaExitAccel), (viaFinishInitAccel):
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_driver.h:
- Merge EXA branch revisions 138:152
2006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_mode.c: (ViaModePrimary):
- Import Luc's fix for sometimes-blanking CRTs on CLE266.
(Luc Verhaegen)
2006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_swov.c: (viaWaitVideoCommandFire):
- The previous commit causes problems with older X versions.
Avoid using gettimeofday(). Reported by Paul Bender.
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_swov.c: (viaTimeDiff), (viaWaitVideoCommandFire):
- Make the Xv viaWaitVideoCommandFire loop time out. Better than server hang?
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via.man:
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_driver.h:
* unichrome/via_video.c: (viaInitVideo):
- Added a "NoXVDMA" option to disable PCI DMA for Xv image transfers.
May turn out useful to vlc users.
- Updated man page.
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_driver.c:
- Added vgaHWGetIndex to vgaHW symbol list.
(Reported by Ole Sandum)
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_swov.c: (ViaOverlayHide):
- Fix HQV offset bug.
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* libxvmc/driDrawable.c: (drawStamp), (getDRIDrawableInfoLocked),
(driDestroyHashContents):
* libxvmc/driDrawable.h:
* libxvmc/viaLowLevel.c: (hwlLock), (hwlUnlock), (timeDiff),
(viaDMATimeStampLowLevel), (viaDMAWaitTimeStamp),
(viaDMAInitTimeStamp), (viaDMACleanupTimeStamp),
(viaMpegGetStatus), (viaMpegIsBusy), (syncDMA), (syncVideo),
(syncAccel), (syncMpeg), (pciFlush), (agpFlush),
(flushXvMCLowLevel), (flushPCIXvMCLowLevel), (pciCommand),
(viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked),
(viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture),
(viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked),
(viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel),
(initXvMCLowLevel), (closeXvMCLowLevel):
* libxvmc/viaLowLevel.h:
* libxvmc/viaLowLevelPro.c: (initHQVShadow),
(setHQVHWDeinterlacing), (setHQVDeblocking), (setHQVStartAddress),
(setHQVColorSpaceConversion), (setHQVFetchLine), (setHQVScale),
(setHQVSingleDestination), (setHQVDeinterlacing),
(setHQVTripleBuffer), (finish_header_agp), (hwlLock), (hwlUnlock),
(timeDiff), (viaDMATimeStampLowLevel), (viaDMAWaitTimeStamp),
(viaDMAInitTimeStamp), (viaDMACleanupTimeStamp),
(viaMpegGetStatus), (viaMpegIsBusy), (syncDMA), (syncVideo),
(syncAccel), (syncMpeg), (pciFlush), (agpFlush),
(uploadHQVDeinterlace), (uploadHQVShadow), (flushXvMCLowLevel),
(flushPCIXvMCLowLevel), (viaMpegSetSurfaceStride),
(viaVideoSetSWFLipLocked), (viaVideoSWFlipLocked), (viaMpegSetFB),
(viaMpegBeginPicture), (viaMpegReset), (viaMpegWriteSlice),
(viaVideoSubPictureOffLocked), (viaVideoSubPictureLocked),
(viaBlit), (syncXvMCLowLevel), (updateLowLevelBuf),
(cleanupLowLevelBuf), (releaseXvMCLowLevel), (initXvMCLowLevel),
(setLowLevelLocking), (closeXvMCLowLevel), (computeDownScaling),
(computeHQVScaleAndFilter), (setupBackBuffer):
* libxvmc/viaXvMCPriv.h:
* libxvmc/vldXvMC.h:
* libxvmc/xf86dri.c: (uniDRIDestroyContext),
(uniDRICreateDrawable), (uniDRIDestroyDrawable),
(uniDRIGetDrawableInfo):
* libxvmc/xf86dri.h:
* libxvmc/xf86dristr.h:
- Run indent on libXvMC. Sync XvMC with Xorg 7.0.
2006-01-26 Thomas Hellström <thomas-at-tungstengraphics-dot-com>
* unichrome/via_dri.c: (VIADRIKernelInit), (VIADRIMapInit):
* unichrome/via_driver.h:
- Add a framebuffer map for DRI. Don't just assume that the
framebuffer map handle is the physical address.
2006-01-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaExaDownloadFromScreen),
(viaExaTexUploadToScreen), (viaExaUploadToScreen),
(viaExaCheckComposite):
* unichrome/via_driver.h:
- Exa branch revision 132:138 merge.
2006-01-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_swov.c: (CreateSurface):
* unichrome/via_video.c: (viaInitVideo), (Flip), (viaDmaBlitImage):
- Fix planar Xv Flipping and surface allocation size.
(Reported by Tim, MagicITX)
- Fix Xv dmablit strides and bump drm version for dmablit to 2.9.0, since
there is a direction bug in earlier versions.
2006-01-09 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/viaXvMC.c: (releaseContextResources):
* unichrome/via_swov.c: (CreateSurface), (ViaSwovSurfaceDestroy):
- Mark already destroyed XvMC contexts as bad, in case clients
try to destroy them twice.
- Don't try to destroy YV12 buffers when exiting XvMC video.
2006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaPixelARGB8888):
- Merge exa_branch 130:132. Rendering errors.
- Changelog typo.
2006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_3d.c: (viaSet3DFlags), (viaSet3DCompositeOperator):
* unichrome/via_accel.c: (viaIsAGP):
- Merge exa_branch 127:130. Rendering errors.
2006-01-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Makefile.am:
- Modular build fix. (Boris Dusek)
2006-01-07 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Imakefile:
* unichrome/via_accel.c: (viaDumpDMA), (viaFlushPCI),
(viaFlushDRIEnabled), (viaSetupCBuffer), (viaAccelClippingHelper),
(viaAccelSolidHelper), (viaAccelPlaneMaskHelper),
(viaAccelTransparentHelper), (viaAccelCopyHelper),
(viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy),
(viaSetupForSolidFill), (viaSubsequentSolidFillRect),
(viaSetupForMono8x8PatternFill),
(viaSubsequentMono8x8PatternFillRect),
(viaSetupForColor8x8PatternFill),
(viaSubsequentColor8x8PatternFillRect),
(viaSetupForCPUToScreenColorExpandFill),
(viaSubsequentScanlineCPUToScreenColorExpandFill),
(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
(viaSubsequentSolidHorVertLine), (viaSetupForDashedLine),
(viaAccelMarkSync), (viaExaPrepareSolid), (viaExaSolid),
(viaExaPrepareCopy), (viaExaCopy), (viaExaCompositePictDesc),
(viaExaPrintComposite), (viaBitExpandHelper), (viaPixelARGB8888),
(viaExpandablePixel), (viaCheckUpload), (viaOrder),
(viaExaDownloadFromScreen), (viaExaTexUploadToScreen),
(viaExaUploadToScreen), (viaExaUploadToScratch),
(viaExaCheckComposite), (viaIsAGP), (viaIsOffscreen),
(viaExaPrepareComposite), (viaExaComposite), (viaInitExa),
(viaInitAccel), (viaExitAccel), (viaFinishInitAccel),
(viaAccelBlitRect), (viaAccelFillRect), (viaAccelSyncMarker):
* unichrome/via_dga.c:
* unichrome/via_dmabuffer.h:
* unichrome/via_dri.c: (VIADRIFBInit):
* unichrome/via_driver.c: (VIALeaveVT), (VIAScreenInit),
(VIAWriteMode), (VIACloseScreen):
* unichrome/via_driver.h:
- Merge in exa_branch from revision 104 to 127. Exa Composite acceleration.
See the branch Changelog for a detailed description of changes.
2006-01-06 Thomas Hellström
* unichrome/via_accel.c: (viaExaDownloadFromScreen),
(viaExaUploadToScreen):
* unichrome/via_video.c: (viaDmaBlitImage):
- Update Xv blit to new blit-combining feature of DRM.
(Idea from Luc Verhaegen/Unichrome).
- Prepare for ugly via_drm.h dmablit IOCTL arg change and via_drm.h
versioning.
2005-12-29 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_video.c: (viaDmaBlitImage):
- Fix Xv YUY2/RVXX dmaBlit stride.
2005-12-26 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/Makefile.am:
- Modular built two identical XvMC libs. The pro lib was not a pro lib.
Fix this. (Tim Dodge)
2005-12-15 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaInitAccel):
- Make sure the accel marker system is properly initialized.
2005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c: (VIAScreenInit):
* unichrome/via_memory.c: (VIAAllocLinear):
- Protect the accelerated initial sceen clearing with a DRI lock.
- Submit the correct context for drm memory allocation.
2005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_ch7xxx.c: (CH7xxxModeI2C):
* unichrome/via_dri.c: (VIADRIAgpInit):
* unichrome/via_driver.c: (VIAScreenInit):
* unichrome/via_id.c:
- Moved the memset from previous commit to after dri is initialized, so
that AGP command submission will work.
- Silenced some warnings.
2005-12-08 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c: (VIAScreenInit):
* unichrome/via_mode.c: (ViaModePrimary):
* unichrome/via_vbe.c: (ViaVbeSetMode):
- Moved memset to blank screen from ModeSetting to ScreenInit, in
an attempt to avoid long standing hangs on K8M800. Also use
the 2D engine for this if acceleration is enabled.
2005-12-07 Thomas Hellström <unichrome-at-shipmail-dot-org>
* Makefile.in:
- Removed Makefile.in since it is generated by the build process.
2005-12-06 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* Makefile.am:
* Makefile.in:
- Added Makefile.am and Makefile.in to allow running make
in the root directory.
2005-12-06 Thomas Hellström <unichrome-at-shipmail-dot-org>
* acinclude.m4:
* autogen.sh:
* configure.ac:
* libxvmc/Makefile.am:
* libxvmc/driDrawable.c:
* libxvmc/viaLowLevel.c:
* libxvmc/viaLowLevelPro.c:
* libxvmc/viaXvMC.c:
* libxvmc/viaXvMCPriv.h:
* libxvmc/xf86dri.c:
* man/Makefile.am:
* unichrome/Makefile.am:
* unichrome/via_accel.c:
* unichrome/via_bandwidth.c:
* unichrome/via_ch7xxx.c:
* unichrome/via_cursor.c:
* unichrome/via_dga.c:
* unichrome/via_dri.c:
* unichrome/via_driver.c:
* unichrome/via_i2c.c:
* unichrome/via_id.c:
* unichrome/via_memcpy.c:
* unichrome/via_memory.c:
* unichrome/via_mode.c:
* unichrome/via_shadow.c:
* unichrome/via_vbe.c:
* unichrome/via_vgahw.c:
* unichrome/via_vt162x.c:
* unichrome/via_xvmc.c:
- Adjust for modular build.
2005-12-04 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_vt162x.c: (VT1622ModeCrtc):
- Fix trac item #13.
This will probably also make TV-out work on some K8M/N800 laptops,
and will probaly fix TV-out after a resume.
2005-12-02 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/Imakefile:
* libxvmc/xf86dri.c:
- 64 bit fixes on libviaXvMC*
2005-12-02 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaAccelPlaneMaskHelper),
(viaAccelTransparentHelper), (viaSetupForScreenToScreenCopy),
(viaSetupForSolidFill), (viaSetupForMono8x8PatternFill),
(viaSetupForColor8x8PatternFill),
(viaSetupForCPUToScreenColorExpandFill), (viaSetupForImageWrite),
(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
(viaSetupForDashedLine), (viaAccelMarkSync), (viaExaPrepareSolid),
(viaExaPrepareCopy), (viaInitAccel), (viaDGABlitRect),
(viaDGAFillRect):
* unichrome/via_driver.c:
* unichrome/via_driver.h:
- Merge exa_branch revisions 91:104:
Add support for EXA planemasks.
Tell loader about some missing EXA functions (Reported by Adam Jackson).
Fix broken XAA dashed lines.
2005-12-01 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/Imakefile:
* unichrome/Imakefile:
* unichrome/via_driver.c:
- Remove drmCommandWriteRead from drm loader symbols again.
Ivor had already added it :)
- Fix a typo in unichrome/Imakefile that broke build on x86_64.
- Add $(PICFLAGS) to libxvmc Makefile to make it build on x86_64.
2005-12-01 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c:
* unichrome/via_memory.c: (VIAFreeLinear):
- Add drmCommandWriteRead to drm loader symbols.
- Make the drm freemem call drmCommandWrite.
2005-11-29 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaInitAccel):
* unichrome/via_memory.c: (VIAAllocLinear):
- Merge exa_branch revisions 86:91
2005-11-29 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Imakefile:
- Yet another drm.h include fixup. For 6.8 and earlier?
2005-11-28 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_id.c:
- Just another id. (Tobias Blom)
2005-11-28 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Imakefile:
- Include the correct drm.h file. This is important for 64 bit builds.
2005-11-26 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaFlushDRIEnabled), (viaSetupCBuffer):
- Merged EXA branch changes between revisions 84 and 86.
2005-11-23 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (viaFlushPCI), (viaFlushDRIEnabled),
(viaSetupCBuffer), (viaTearDownCBuffer), (viaEnableVQ),
(viaDisableVQ), (viaAccelSetMode), (viaInitialize2DEngine),
(viaAccelSync), (viaSetClippingRectangle),
(viaAccelClippingHelper), (viaAccelSolidHelper),
(viaAccelTransparentHelper), (viaAccelCopyHelper),
(viaSetupForScreenToScreenCopy), (viaSubsequentScreenToScreenCopy),
(viaSetupForSolidFill), (viaSubsequentSolidFillRect),
(viaSetupForMono8x8PatternFill),
(viaSubsequentMono8x8PatternFillRect),
(viaSetupForColor8x8PatternFill),
(viaSubsequentColor8x8PatternFillRect),
(viaSetupForCPUToScreenColorExpandFill),
(viaSubsequentScanlineCPUToScreenColorExpandFill),
(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
(viaSubsequentSolidHorVertLine), (viaSetupForDashedLine),
(viaSubsequentDashedTwoPointLine), (viaInitXAA),
(viaAccelMarkSync), (viaAccelWaitMarker), (viaExaPrepareSolid),
(viaExaSolid), (viaExaPrepareCopy), (viaExaCopy),
(viaExaDownloadFromScreen), (viaExaUploadToScreen), (viaInitExa),
(viaInitAccel), (viaExitAccel), (viaDGABlitRect), (viaDGAFillRect):
- Merged EXA branch changes between revisions 74 and 84. Mainly
indentations and minor bugfixes.
2005-11-15 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_swov.c: (ViaSwovSurfaceCreate),
(ViaSwovSurfaceDestroy):
* unichrome/via_video.c: (viaSetupAdaptors):
* unichrome/via_xvpriv.h:
- Fix Xv surface destruction and re-allocation.
(Reported by Cedric Berger).
2005-11-15 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Imakefile:
* unichrome/via_accel.c: (viaTearDownCBuffer),
(viaAccelSolidHelper), (viaAccelCopyHelper),
(viaExaDownloadFromScreen), (viaExaUploadToScreen):
* unichrome/via_driver.c: (VIAScreenInit):
- Merged changes in exa_branch revisions 67 to 74. For a detailed
ChangeLog, see that branch.
2005-11-09 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/Imakefile:
* unichrome/via_accel.c: (viaFlushPCI), (viaFlushDRIEnabled),
(viaSetupCBuffer), (viaTearDownCBuffer), (viaInitAgp),
(viaEnableVQ), (viaDisableVQ), (viaAccelSetMode),
(viaInitialize2DEngine), (viaAccelSync), (viaSetClippingRectangle),
(viaDisableClipping), (viaAccelClippingHelper),
(viaAccelSolidHelper), (viaAccelTransparentHelper),
(viaAccelCopyHelper), (viaSetupForScreenToScreenCopy),
(viaSubsequentScreenToScreenCopy), (viaSetupForSolidFill),
(viaSubsequentSolidFillRect), (viaSetupForMono8x8PatternFill),
(viaSubsequentMono8x8PatternFillRect),
(viaSetupForColor8x8PatternFill),
(viaSubsequentColor8x8PatternFillRect),
(viaSetupForCPUToScreenColorExpandFill),
(viaSubsequentScanlineCPUToScreenColorExpandFill),
(viaSetupForImageWrite), (viaSubsequentImageWriteRect),
(viaSetupForSolidLine), (viaSubsequentSolidTwoPointLine),
(viaSubsequentSolidHorVertLine), (viaSetupForDashedLine),
(viaSubsequentDashedTwoPointLine), (viaInitXAA),
(viaAccelMarkSync), (viaAccelWaitMarker), (viaExaPrepareSolid),
(viaExaSolid), (viaExaDoneSolidCopy), (viaExaPrepareCopy),
(viaExaCopy), (viaExaDownloadFromScreen), (viaExaUploadToScreen),
(viaInitExa), (viaInitAccel), (viaExitAccel), (viaDGABlitRect),
(viaDGAFillRect), (viaDGAWaitMarker):
* unichrome/via_cursor.c: (VIALoadCursorImage):
* unichrome/via_dga.c:
* unichrome/via_dri.c: (VIADRIFBInit), (VIADRIScreenInit),
(VIADRICloseScreen), (VIADRIFinishScreenInit):
* unichrome/via_driver.c: (VIASetup), (VIAPreInit), (VIALeaveVT),
(VIAScreenInit), (VIAWriteMode), (VIACloseScreen), (VIASwitchMode):
* unichrome/via_driver.h:
* unichrome/via_memcpy.c: (viaVidCopyInit):
* unichrome/via_memory.c: (VIAFreeLinear), (offScreenLinear),
(VIAAllocLinear), (VIAInitLinear):
* unichrome/via_priv.h:
* unichrome/via_vbe.c: (ViaVbeSetMode):
- Merge exa_branch from revision 52 to 67. For a detailed Changelog,
check that branch.
2005-11-09 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_mode.c: (ViaModeDotClockTranslate):
- Fix pro-mode and remove pro warning. (Paul Bender)
2005-11-08 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_driver.c: (VIASwitchMode):
- Don't kickVblank with no DRI enabled. (Joris van Rantwijk)
2005-11-02 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_mode.c: (ViaGetMemoryBandwidth):
* unichrome/via_mode.h:
- Give VM800 some bandwidth.
2005-11-01 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/viaLowLevel.c: (viaDMAInitTimeStamp):
* libxvmc/viaLowLevelPro.c: (viaDMAInitTimeStamp),
(updateLowLevelBuf):
* unichrome/via_drmclient.h:
- Fix compilation errors caused by the drm / dri update.
(reported by Tarun Kripalani)
2005-10-31 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (VIAInitAccel):
* unichrome/via_cursor.c: (VIAHWCursorInit):
- Second attempt at fixing the hw cursor issue.
There were actually two errors involved.
2005-10-31 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_xvpriv.h:
- Fix stray include left over by previous commit.
2005-10-31 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_id.c:
- Mitac 8889 device id. (Daniel Schindler)
2005-10-30 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (VIAInitAccel):
- Revert the hardware cursor fix since it for some strange reason
makes hw cursors white. Need to figure out why.
2005-10-30 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_video.c: (viaInitVideo), (viaSetupAdaptors),
(nv12cp), (viaDmaBlitImage), (viaPutImage), (nv12Blit):
* unichrome/via_xvpriv.h:
- Enable DMA Xv image transfers also for PM8X0 / CN400.
YV12 to NV12 conversion is still software but now takes place
in system memory instead of during transfer to framebuffer memory.
CPU usage is much improved on PM8X0. Less so on CN400.
Hardware YV12 to NV12 conversion using the blitter was implemented
and tested but was very slow, probably due to the fact that blitting
only took place one column at a time. Since sync on the 2D engine
currently requires a busy-wait, the approach was not only slow, but
also CPU-consuming.
2005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_video.c: (viaExitVideo), (viaSaveVideo),
(viaRestoreVideo), (VIAVidAdjustFrame):
- Fix server crash when compiled without -DXvExtension.
2005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_dri.c: (VIADRIRingBufferInit), (VIADRIScreenInit),
(VIADRIFinishScreenInit), (VIADRIMapInit):
* unichrome/via_dri.h:
* unichrome/via_driver.h:
* unichrome/via_drm.h:
* unichrome/via_memory.c: (VIAFreeLinear), (VIAAllocLinear):
* unichrome/via_video.c: (viaInitVideo):
* unichrome/via_xvmc.c: (ViaInitXVMC):
- Sync dri handling with Xorg. This should hopefully make it run
with Mesa 6.4 again. (Luc Verhaegen, Eric Anholt, me)
2005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_video.c: (viaPutImage):
- Make via_video.c compile without -DXF86DRI. Was broken with the
dmablit commit. (Reported by Luc Verhaegen)
2005-10-27 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_accel.c: (VIAInitAccel):
- Fix HW cursor memory allocation.
2005-10-18 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO),
(ViaSetSecondaryFIFO):
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_swov.c: (VIAVidHWDiffInit):
- Remaining device id's lying about.
- Remove PM800 conditionals.
2005-10-18 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_id.c:
* unichrome/via_id.h:
* unichrome/via_mode.h:
- Device id additions. AsRock P4VM800 reported by Mariano Benedettini
2005-09-25 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via.h:
* unichrome/via_dri.c: (VIADRIRingBufferInit),
(VIADRIFinishScreenInit):
* unichrome/via_dri.h:
* unichrome/via_driver.h:
* unichrome/via_drm.h:
* unichrome/via_priv.h:
* unichrome/via_swov.c: (viaWaitHQVFlip), (viaWaitHQVFlipClear),
(viaWaitHQVDone), (viaOverlayGetV1V3Format),
(viaOverlayGetSrcStartAddress), (viaOverlayGetFetch),
(viaSetColorSpace), (ViaSetVidCtl), (AddHQVSurface),
(ViaSwovSurfaceCreate), (ViaSwovSurfaceDestroy),
(SetFIFO_V3_64or32or32), (SetFIFO_V3_64or32or16), (SetColorKey),
(SetChromaKey), (SetHQVFetch), (Upd_Video), (VIAVidUpdateOverlay),
(ViaOverlayHide):
* unichrome/via_video.c: (DecideOverlaySupport), (viaResetVideo),
(viaSaveVideo), (viaExitVideo), (viaInitVideo), (viaReputImage),
(viaSetupAdaptors), (viaStopVideo), (Flip), (nv12cp),
(viaDmaBlitImage), (viaPutImage), (viaQueryImageAttributes):
* unichrome/via_xvmc.c: (ViaInitXVMC):
* unichrome/via_xvpriv.h:
Big Xv update.
- Bring Xv in sync with Xorg, which includes RV15 and RV16 support.
- Add support for PCI DMA Xv image transfer. This requires DRM >= 2.7.0,
and does not yet work on Unichrome Pro group A, since YV12->NV12
hardware conversion is not yet implemented.
2005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_swov.c: (ViaSwovSurfaceDestroy):
- Destroy video surfaces on video exit / stop.
2005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c: (VIAAdjustFrame)
- Fix Xv panning also for VBEModes.
2005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c: (VIAEnterVT):
- Fix segfault on EnterVT when DRI is not enabled.
(Joris van Rantwijk)
2005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_priv.h:
* unichrome/via_swov.c: (VIAVidUpdateOverlay):
* unichrome/via_video.c: (RegionsEqual), (viaReputImage),
(viaSetupAdaptors), (VIAVidAdjustFrame):
- Fix Xv panning. Speed up overlay updates on window moves.
2005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_video.c: (viaExitVideo):
- Fix stopvideo for all ports and adaptors.
2005-08-10 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/Imakefile:
* unichrome/via_bios.h:
* unichrome/via_ch7xxx.c: (CH7xxxPrintRegs), (ViaCH7xxxDetect),
(CH7xxxSave), (CH7xxxRestore), (CH7xxxDACSenseI2C),
(CH7xxxDACSense), (CH7011ModeIndex), (CH7019ModeIndex),
(CH7xxxModeValid), (CH7xxxModeI2C), (CH7xxxModeCrtc),
(CH7xxxTVPower), (CH7019LCDPower), (ViaCH7xxxInit):
* unichrome/via_ch7xxx.h:
* unichrome/via_driver.c: (VIAPreInit):
* unichrome/via_id.c:
* unichrome/via_mode.c: (ViaTVDetect), (ViaTVInit):
* unichrome/via_vt162x.c: (ViaVT162xDetect), (VT1625DACSenseI2C),
(VT1625DACSense), (VT1621ModeIndex), (VT1622ModeIndex),
(VT1625ModeValid), (VT1622ModeI2C), (VT1622ModeCrtc),
(VT1625Power), (ViaVT162xInit):
* unichrome/via_vt162x.h:
- Initial steps to incorporating CH7xxx and VT1625 support;
merging patches from David George, Philip Prindeville, Terry Lewis.
2005-07-30 Ivor Hewitt <ivor-at-ivor-dot-org>
* libxvmc/Imakefile:
* unichrome/via_mode.c: (ViaGetMemoryBandwidth),
(ViaModePrimaryVGA), (ViaModePrimary):
* unichrome/via_swov.c:
- Merge fixes from xorg for typos in mode setting and sync set
2005-07-18 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_id.c:
- Additional card-id. Reported by Philip Prindeville.
2005-07-04 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_driver.c: (VIAPreInit), (VIAScreenInit):
* unichrome/via_id.c:
- Avoid calling DPMS to blank screen during init with VBEModes.
- Add another card ID.
2005-06-29 Ivor Hewitt <ivor-at-ivor-dot-org>
* unichrome/via_id.c:
- Additional card-ids. Patch from Xavier Bachelot
2005-06-26 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/viaLowLevelPro.c: (finish_header_agp), (syncDMA),
(syncVideo), (pciFlush), (agpFlush), (uploadHQVDeinterlace),
(uploadHQVShadow), (flushXvMCLowLevel), (flushPCIXvMCLowLevel),
(viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked),
(viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture),
(viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked),
(viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel),
(releaseXvMCLowLevel), (initXvMCLowLevel), (closeXvMCLowLevel):
- Clean up the VIDEO_DMA ifdef mess before xorg inclusion.
- Make VIDEO_DMA wait for DMA quiescent before flipping, pending proper
HQV locking.
- Disable VIDEO_DMA to improve latency pending proper HQV locking.
2005-06-17 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_mode.c: (ViaSetPrimaryDotclock),
(ViaSetSecondaryDotclock), (ViaComputeProDotClock),
(ViaModeDotClockTranslate):
- Free dotclock on Unichrome Pro. Pls report problems with
unstable clocks.
- Minor 64-bit fixes.
2005-06-16 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_xvmc.c: (ViaXvMCCreateContext),
(ViaXvMCCreateSurface), (ViaXvMCCreateSubpicture):
* unichrome/via_xvmc.h:
- XvMC 64 bit fixes. XvMC now runs on K8M800 64-bit Linux.
2005-06-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_bios.h:
* unichrome/via_i2c.c:
* unichrome/via_mode.c: (ViaTVRestore):
* unichrome/via_vt162x.c: (VT162xPrintRegs), (ViaVT162xDetect),
(VT162xSave), (VT162xRestore), (ViaVT162xInit):
- Fix up the vt1623 encoder: Correct device ID, number of registers
and most of all reading from the i2cbus it is sitting on.
2005-06-11 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_dri.c: (VIADRIScreenInit):
- Update via_dri.c to compile with new libdri.
2005-06-01 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_mode.c: (ViaModePrimary):
* unichrome/via_vt162x.h:
- Fix TV-out on Unichrome Pro. To make it work CRT+TV needs to be
enabled in BIOS. Still it will hang the machine or possibly only
the display chip on X server exit.
- Import the 720x576Noscale mode for vt1622A/vt1623 from the Unichrome
driver (Terry Barnaby)
2005-05-25 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/viaLowLevelPro.c: (setHQVDeinterlacing):
* libxvmc/viaXvMC.c:
* unichrome/via_driver.c:
* unichrome/via_mode.c: (ViaModePrimary):
* unichrome/via_mode.h:
* unichrome/via_vt162x.c: (ViaVT162xDetect):
- Updated incorrect field order in libViaXvMCPro.
- Fixed warnings about unresolved int10 symbols in the Unichrome driver.
- Updated Unichrome Pro dotclocks - also for TV.
- Made the driver recognize the vt1623 TV encoder on the EPIA SP13000.
- Removed unnecessary define in viaXvMC.c.
2005-05-16 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/driDrawable.c: (getDRIDrawableInfoLocked):
* libxvmc/viaXvMC.c: (releaseContextResources),
(XvMCCreateContext):
* libxvmc/xf86dri.c: (uniDRIDestroyContext),
(uniDRICreateDrawable), (uniDRIDestroyDrawable),
(uniDRIGetDrawableInfo):
* libxvmc/xf86dri.h:
- Changed DRI client function names since they clash with
via_dri.so, causing strange problems in, for example, xine.
2005-05-16 Thomas Hellström <unichrome-at-shipmail-dot-org>
* unichrome/via_dri.c: (VIASetAgpMode), (VIADRIAgpInit):
- Added better AGP mode control to the DDX.
2005-05-11 Thomas Hellström <unichrome-at-shipmail-dot-org>
* prepare-ChangeLogSVN.pl:
- Added the above file for generation of ChangeLog Entries.
2005-05-11 Thomas Hellström <unichrome-at-shipmail-dot-org>
* libxvmc/driDrawable.c:
* libxvmc/viaLowLevel.c: (hwlLock), (hwlUnlock),
(setAGPSyncLowLevel), (viaDMATimeStampLowLevel),
(flushXvMCLowLevel), (flushPCIXvMCLowLevel),
(viaMpegSetSurfaceStride), (viaVideoSetSWFLipLocked),
(viaVideoSWFlipLocked), (viaMpegSetFB), (viaMpegBeginPicture),
(viaMpegReset), (viaMpegWriteSlice), (viaVideoSubPictureOffLocked),
(viaVideoSubPictureLocked), (viaBlit), (syncXvMCLowLevel),
(initXvMCLowLevel), (setLowLevelLocking), (closeXvMCLowLevel):
* libxvmc/viaLowLevel.h:
* libxvmc/viaLowLevelPro.c: (initHQVShadow),
(setHQVHWDeinterlacing), (setHQVDeblocking), (setHQVStartAddress),
(setHQVColorSpaceConversion), (setHQVFetchLine), (setHQVScale),
(setHQVSingleDestination), (setHQVDeinterlacing),
(setHQVTripleBuffer), (hwlLock), (hwlUnlock), (setAGPSyncLowLevel),
(viaDMATimeStampLowLevel), (viaDMAInitTimeStamp),
(uploadHQVDeinterlace), (uploadHQVShadow), (flushXvMCLowLevel),
(flushPCIXvMCLowLevel), (viaMpegSetSurfaceStride),
(viaVideoSetSWFLipLocked), (viaVideoSWFlipLocked), (viaMpegSetFB),
(viaMpegBeginPicture), (viaMpegReset), (viaMpegWriteSlice),
(viaVideoSubPictureOffLocked), (viaVideoSubPictureLocked),
(viaBlit), (syncXvMCLowLevel), (updateLowLevelBuf),
(cleanupLowLevelBuf), (initXvMCLowLevel), (setLowLevelLocking),
(closeXvMCLowLevel), (computeDownScaling),
(computeHQVScaleAndFilter), (setupBackBuffer):
* libxvmc/viaXvMC.c: (grabDecoder), (releaseContextResources),
(XvMCCreateContext), (XvMCCreateSurface), (XvMCPutSlice2),
(XvMCPutSlice), (XvMCPutSurface), (XvMCBeginSurface),
(XvMCSyncSurface), (XvMCLoadQMatrix), (XvMCCreateSubpicture),
(XvMCSetSubpicturePalette), (XvMCClearSubpicture),
(XvMCCompositeSubpicture), (XvMCBlendSubpicture2),
(XvMCSyncSubpicture), (XvMCDestroySubpicture), (XvMCFlushSurface),
(XvMCGetSurfaceStatus), (XvMCQueryAttributes), (XvMCSetAttribute),
(XvMCGetAttribute), (XvMCHideSurface):
* libxvmc/viaXvMCPriv.h:
* unichrome/via_swov.c: (ViaSwovSurfaceCreate):
* unichrome/via_video.c: (viaSetupAdaptors):
* unichrome/via_xvpriv.h:
- Added ChangeLog to the repository.
- Made the DDX update the overlay if a change in surface format occured
while it's dimensions are still the same.
- Made the XvMCLowLevel struct opaque (void *) and not defined in the
header file. This allows for different definitions for different hardware
- Added a HQV shadow which holds the HQV context for the Unichrome Pro.
The purpose is twofold:
1. If someone else touched the HQV since we last used it, we can upload the
whole context.
2. We do not need to read from the HQV, which is bad because we have to
halt the DMA engine to do that.
- Added and activated mpeg deblocking for Unichrome Pro.
- Added a number of HQV utility functions for the upcoming video engine free
output. These are not activated yet. (Unichrome Pro.)
- Added HW deinterlacing functions. Deactivated, since I cannot see any visible
difference. (Unichrome Pro.)
|