AMD Ryzen 9 5980HX 's Advantages
Higher specification of memory (LPDDR4-4266 vs DDR5-5600)
Lower TDP (35W vs 35W)
AMD Ryzen 7 7840H 's Advantages
Released 2 years late
Larger memory bandwidth (89.6GB/s vs 51.2GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.8GHz vs 3.3GHz)