3 ms·
One thing that's always put me off from studying GPUs in detail is the proprietariness of everything; with few exceptions (Intel being one of them recently, and
by userbinator 12y ago
One thing that's always put me off from studying GPUs in detail is the proprietariness of everything; with few exceptions (Intel being one of them recently, and surprisingly enough Broadcom for the RPi), there's no detailed datasheet or low-level programming information publicly available for modern GPUs, and what is available is still not all that complete. Contrast this with CPUs where a lot of them have full, highly-detailed information on everything from pinouts to how to get them to boot. People have made their own simple computer systems by wiring up a CPU on a circuit board with some support chips, but I don't think I've seen anything like this done for any reasonably recent or even ancient GPU.
(I know there are VGA reimplementations available, and the VGA is quite well-documented, but that's more of a timing controller/dumb frame-buffer than a real GPU.)
- dfox 12y agoSignificant part of functionality of moder GPU is in software that abstracts away differences between different models and generations, from this point of view it does not make much sense to document actual interface between software and hardware. Other thing is that complexity of this software abstraction layer is comparable to the GPU itself and manufacturers do not expect that somebody would want to implement all that from scratch (this is similar to e.g. FPGAs, where even when you know bitstream format, you still have to write something non-trivial that generates the bitstream).
- abecedarius 12y agoYou could make the same arguments against documenting the machine code of a CPU.
- dfox 12y agoFor CPU, there is no another processor that can run all the abstraction software so it has to be done in hardware or in software in a way that is transparent to user (microcode, Transmeta-style JIT...).
- abecedarius 12y agoThat's an implementation detail: the manufacturer supplies the system software, and by this argument you're not supposed to care where it runs.
- sklogic 12y agoI would have been delighted to know the FPGA bitstream formats, place&route is certainly hard, but not at all impossible. And some of the GPU vendors are publishing their datasheets specifically in a hope that an alternative open source driver stack will appear.
- Arelius 12y agoAMD have actually released a surprising amount of documentation, for instance: http://developer.amd.com/sdks/AMDAPPSDK/assets/AMD_Southern_Islands_Instruction_Set_Architecture.pdf http://developer.amd.com/sdks/AMDAPPSDK/assets/AMD_Southern_... http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/10/CIK_3D_registers_v2.pdf http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/... http://www.amd.com/Documents/GCN_Architecture_whitepaper.pdf http://www.amd.com/Documents/GCN_Architecture_whitepaper.pdf
- rasz_pl 12y agoThere was this https://www.flickr.com/photos/73923873@N05/sets/72157628794295861 https://www.flickr.com/photos/73923873@N05/sets/721576287942... http://www.edaboard.com/thread236934.html http://www.edaboard.com/thread236934.html http://hackaday.com/2012/10/08/stm32-driving-a-pcie-video-card/ http://hackaday.com/2012/10/08/stm32-driving-a-pcie-video-ca... Standalone code running on _not plugged into anything_ Radeon HD2400 authors blog: http://www.pixel.io/blog/ http://www.pixel.io/blog/ he never released any source, actually he had something posted to github, but made repo private