AMD Ryzen 9 7940HS 's Advantages
Integrated graphics card
Higher specification of memory (7500 vs 5600)
Higher base frequency (4.0GHz vs 3.5GHz)
AMD Ryzen 5 PRO 8640U 's Advantages
Released 1 years late
Newer PCIe version (4 vs 4.0)
Lower TDP (28W vs 54W)