this post was submitted on 17 Sep 2024
89 points (100.0% liked)

Linux

4966 readers
290 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sxan@midwest.social 27 points 3 days ago (8 children)

The AMD graphics driver is reputedly the biggest that mainstream Linux users will encounter, approaching six million lines of code.

That does seem a bit ... excessive.

[–] fossphi@lemm.ee 16 points 3 days ago (4 children)

A decent chunk of that is autogenerated code

[–] Anticorp@lemmy.world 4 points 3 days ago (2 children)
[–] addie@feddit.uk 12 points 3 days ago (1 children)

"Register bit twiddling." Setting all the modes that all their various cards can operate in, with the associated code for sending the bit updates over the connection bus. Tedious stuff that's very prone to copy-paste errors if written by hand.

At some point you have to take AMDs word for it that these codes = this functionality, but if the right graphics come out then it can't be so wrong.

load more comments (1 replies)
load more comments (4 replies)