Hi everyone, I was seeking for long to have the integrated RTG of the Amiga Warp 1260 accelerator working in NetBSD, and with the launch of GPT-5.6-Sol I decided to give a try with "him" a coding assistant. After few weeks of tweaking, I have hardware accelerated driver working without a single issue so far. The features are: * Six 16-bit R5G6B5 video modes: 640x480, 800x600, 1024x768, 1280x720, 1280x1024, and 1920x1080. * Hardware rectangle fill/copy acceleration for the wscons console. * EXA Solid/Copy acceleration for Xorg through the standard wsfb driver. I am attaching the patches against the following commits of `src` [1] and `xsrc` [2]. You can also find here [3] the repository of the full project and a video of a real Amiga working with accelerated graphics on NetBSD here [4]. The performance is outstanding. Since this was coded by AI, I would like to request a review of the code, checking if it is valid, according to the kernel and Xorg best practices; and after review and interations, to be pushed to the upstream. So far, my system is working flawlesly with it, but that doesn't mean that it won't interfere with other components of the OS. Thanks! Carlos [1] https://github.com/NetBSD/src/commit/c4432964a2fc5fc62bd8f36699e5798c45cd569b [2] https://github.com/NetBSD/xsrc/commit/b8a0c79d92d984f132704159c17dc18ee9515e3c [3] https://github.com/cmilanf/netbsd-amiga-warpgfx [4] https://youtu.be/iFda9PB3n1w Carlos Milán Figueredo HispaMSX System Operator - http://www.hispamsx.org - telnet://bbs.hispamsx.org - https://calnus.com
Attachment:
netbsd-src-warpgfx.patch
Description: netbsd-src-warpgfx.patch
Attachment:
netbsd-xsrc-warpgfx-wsfb-exa.patch
Description: netbsd-xsrc-warpgfx-wsfb-exa.patch