AMD Ryzen 9 5900H's Advantages
Integrated graphics card
Higher specification of memory (LPDDR4-4266 vs DDR5-5600)
AMD Ryzen 7 PRO 8840HS's Advantages
Released 3 years late
Newer PCIe version (4 vs 3.0)
More modern manufacturing process (4nm vs 7nm)
Lower TDP (28W vs 45W)