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

Linux

5380 readers
90 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 29 points 2 months 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 2 months ago (4 children)

A decent chunk of that is autogenerated code

[–] Anticorp@lemmy.world 5 points 2 months ago (2 children)
[–] addie 13 points 2 months 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.

[–] Anticorp@lemmy.world 2 points 2 months ago
load more comments (1 replies)
load more comments (4 replies)