Thought I had this figured out when I built my last PC but now I have questions.
It seems current Intel CPUs have 20 PCIe lanes. For example, for the i5-12400 Intel states 20 PCIe lanes and 8 DMI lanes. Since they’re listed separately I presume the DMI lanes are not part of the 20 PCIe lanes...