logoalt Hacker News

derefr • yesterday at 7:03 PM • 2 replies • view on HN

> There were myriad details inside that code that related directly to particular controls deep in the basics (micro cache enables, chicken bits, N-1 toggles, memory access radices, etc). Many of them were set once, not dynamically.

A bit of a tangent, but: do you have any idea why these things get handled in the GPU driver in the first place, rather than the GPU having firmware that does its own bring-up into a useful state before it ever starts letting the CPU talk to it?


Replies

opello • yesterday at 11:51 PM

Not the above author, but I think the trade-offs are managing the tension between what can be tested during the hardware development part of the project and what ends up being the reality of operating in varied hardware and software environments. Add on to that any friction or risk of a secondary update failing (the driver updating the card firmware, for example) when the activity is "setup" that isn't part of the system after start up or driver or hardware initialization, it's a tantalizing prospect to remove a whole class of failures and gain more rapid deployment of fixes, and only paying in driver update/on disk size, for all intents and purposes.

formerly_proven • yesterday at 7:31 PM

Isn't that what nvidia is using the GSP for and why (or perhaps rather: how) nvidia has moved to an open source kernel driver?