Commit Graph

11264 Commits

Author SHA1 Message Date
Rudolf Cornelissen
7540371dbb the DMA acc sub-cmd-lists are now issued to a single engine command (except for blit because it's hardware can't do that), instead of to multiple issued engine commands. (one could say 'parallel processing' but that's not the case: it remains serial: it's just faster).
DMA acceleration speed is up another 10% for rect and span commands.
commencing more testing now: code is complete (I hope).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 16:20:40 +00:00
Rudolf Cornelissen
dffca5825b doc update, version is now 0.40.
(still one more speed update to do before testing and release :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:36:51 +00:00
Rudolf Cornelissen
d0ef756a52 optimized DMA acc code more by splitting up command lists into sublists before issuing them to the engine. this further improves speed with upto about 70 percent, for a total of about doubling the speed by pure software optimation.
Note: code is now working the same as Thomas's ATI driver: he minimized calls in the same ways. (Curious how a benchmark contest would hold up now.. ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:34:09 +00:00
Stefano Ceccherini
28362fed33 I just noticed this file had a weird license header...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:47:12 +00:00
Rudolf Cornelissen
361b304a02 ... on slow CPU's it's also upto 15% gain apparantly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:15:42 +00:00
Rudolf Cornelissen
0702e3f652 (doc update..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:02:05 +00:00
Rudolf Cornelissen
1554e5cb4c applied DMA mode speed optimations 'step 1.5': incorporated all top-level acceleration functions inside the engine's code so minimal nested calls are made. Confirmed further speedup of about 15% on fast CPU's...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:00:14 +00:00
Stefano Ceccherini
e605d52661 Finally we draw something with our own code. It works only with vertical sliders, and it's still buggy, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 10:07:30 +00:00
Jérôme Duval
af095d7ba1 style fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 09:19:32 +00:00
Rudolf Cornelissen
bffb1c3e50 added a comment about 'parallel processing' of rect functions (due for next speed optimize 'step 2').
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:46:32 +00:00
Rudolf Cornelissen
9e7390ba4a bumped version to 0.38.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:42:58 +00:00
Rudolf Cornelissen
18dfc8a2b0 optimizing DMA acc for speed ('step 1'). Also simplifies code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:40:56 +00:00
Rudolf Cornelissen
27fe7559f1 updated doc once more.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 12:57:54 +00:00
Rudolf Cornelissen
10988528d1 added fix (not yet completely tested) for NV40/NV45 artifacts on heavy acc engine use. Bumped driverversion to 0.37.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 12:50:09 +00:00
Rudolf Cornelissen
ba37dabf99 small cleanup, added one new registerdefine for NV40/NV45.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 09:56:57 +00:00
Rudolf Cornelissen
cb49723124 added one (still disabled) register for framebuffer config(?) on NV40/NV45 (in test)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 09:54:56 +00:00
Rudolf Cornelissen
93ae86bf61 replaced some occurances of BeOS with Haiku :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:48:09 +00:00
Rudolf Cornelissen
813524fb5a updated driver documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:40:26 +00:00
Jérôme Duval
8ac049a845 Wacom devices are now not handled, uses devices preferences devices list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:29:19 +00:00
Jérôme Duval
91437c9ef8 added usb devices and vendors list from NetBSD version 1.395
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:27:26 +00:00
Jérôme Duval
834f7878aa FindString is better than FindData (thanks axeld)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 17:27:34 +00:00
Stefano Ceccherini
2f197f3340 BHandler::MessageReceived handles also B_GET_SUPPORTED_SUITES as it should, and prints the message to the stream if it doesn't understand it. Restyled the function to follow our guidelines (more or less).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 11:34:52 +00:00
Jérôme Duval
997aa9ac18 error handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 11:05:33 +00:00
Axel Dörfler
db5fbf2a6b Fixed a possible crashing bug in case of a corrupt inode: the vnode was
removed twice from its mount's list.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 03:57:08 +00:00
Nathan Whitehorn
7d76ee9a6d Added autodetection of SMP machines, so that it sets the -j argument to jam appropriately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 01:17:45 +00:00
Jérôme Duval
76fa831165 fixes sscanf for decimal values, enables keymap to actually load source keymaps
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 16:57:12 +00:00
Rudolf Cornelissen
29e629c82e shutdown panel DPMS for laptops: I don't like the looks of that!. Confirmed DPMS working OK for all DVI panels though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 16:51:35 +00:00
Stefano Ceccherini
0677ddf4a7 Now the slider correctly moves on mousedown/mousemoved. Note that currently it works only if the BWindow was created with the B_ASYNCHRONOUS_CONTROLS flag. Fixed drawing of the thumb when pressed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 14:10:52 +00:00
Rudolf Cornelissen
6072aa9f44 fixed PLL locking trouble on NV36 (confirmed) and problably more cards (NV31, NV40 and higher): those with extended PLL's.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:47:54 +00:00
Jérôme Duval
cb9c0a693e added a default constructor to init attributes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:43:19 +00:00
François Revol
c8cfedef94 undo showing major/minor (hmm that's a very bad idea...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:37:37 +00:00
Rudolf Cornelissen
ecaef637fa added preliminary DPMS support for all panels (still in test)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:34:13 +00:00
Rudolf Cornelissen
4157b3aeec -added the NV40 arch screen connections limitations to the doc;
-added a fixme comment in the kerneldriver: it seems we must try to map cardBIOSes to memory ourselves if possible after all (should be PCI config manager work I'd say): encountered two systems now that don't have that done (by BIOS I guess). A old PCI-only system (Pentium200), and a brand new PCIe system: Both PCI and PCIe cardBIOSes don't get mapped here which prevents us from using coldstarts on secondary cards :-/


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:53:25 +00:00
Rudolf Cornelissen
36ad4411a8 added some comments about NV40 architecture. We have several new unknown factors:
- DAC2 always detects a analog screen connected;
- it seems like there are at least two new registers we don't know about. One extra switch to place output on connectors, and one (extra) switch for pixelclock PLL to CRTC connections (one PLL drives both CRTC's in some cases, pre-programmed by the card BIOS determined on the screen configuration found at power-up.
- in a known register (TSTCTRL) b20 blocks/moves output on connectors (?).
All confirmed on NV43, GeForce PCIe 6600GT.

Driver status:
- one DVI monitor connected is OK;
- one analog screen connected on the DB15 connector is OK,
- two analog screens connected is OK and can be used for dualhead.
other combinations don't work well or at all. This is the status confirmed on
the NV43. Assuming same for other cards of NV40 architecture.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:39:07 +00:00
François Revol
1c5ea92404 don't mangle UTF-8 chars for __BEOS__, from the GG patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:39:40 +00:00
François Revol
5bea2b386b we don't use major/minor, but that's not a reason to change the display. device sizes as reported by stat() are always 0 anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:15:46 +00:00
Stefano Ceccherini
93d52f14af Now we fill BMenu::sMenuInfo with some default values. This should fix the problems with our BMenus on our app server. DarkWyrm, please check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 08:26:20 +00:00
Axel Dörfler
be6b98a967 Since the mode commands are ignored anyway, we're now also accepting a "?"
starting parameter (or better, we silently ignore it) that's used for
private DEC modes. Vim uses those for whatever reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 21:56:14 +00:00
Axel Dörfler
a7c89acd59 Some style cleanup. The usage text now looks more like those from other shell commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 20:58:42 +00:00
Axel Dörfler
b7624725ef Added --copy-from option to take over the indexes of another volume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 19:34:57 +00:00
Stefano Ceccherini
f32c74752d A couple of small style changes, fixed a problem with some compilers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 08:27:27 +00:00
Axel Dörfler
bd8b04d96c Added the "error" command and the termcap file to the image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:19:57 +00:00
Axel Dörfler
cccb294458 Added standard BeOS termcap file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:18:25 +00:00
Axel Dörfler
a5b1bafc0b New "error" command; unlike the previous, this should work :)
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:15:14 +00:00
Axel Dörfler
4b72e95292 getcwd() is actually implemented like elsewhere, and not strictly after
POSIX demands: if you pass in a NULL pointer, a buffer will now be
allocated for you.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:51:34 +00:00
Axel Dörfler
86e404324f Fixed the build of the boot floppy and removed all input_server headers
when USE_INPUT_SERVER is not defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:22:12 +00:00
Axel Dörfler
a1537049b7 Changed the way we're resetting the machine: we're now first trying the
keyboard controller method, and only if that fails we fall back to what
we have before.
At least my SiS laptop now properly reboots, and doesn't just halt
anymore - doesn't seem to have a negative impact on other machines, but
please report any regressions :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 02:12:14 +00:00
DarkWyrm
6a1a734c5f A small crash fix whilst testing with a stock People app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 00:48:07 +00:00
Jérôme Duval
7c49936aa6 Simplified pci bus manager Jamfiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 22:27:58 +00:00
Jérôme Duval
82698ec120 added support for arrows (from our Terminal impl)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 16:58:28 +00:00