I have a desktop computer with an AMD Ryzen 5 4650G PRO APU (CPU + on-die GPU). The motherboard (MSI Mortar B550m wifi / bios 1.6). has one displayport and one HDMI outputs. The displayport is connected to my Lenovo P27 monitor, and the HDMI to my Samsung TV.
not sure if the driver in sound/soc/amd/renoir/ should be enabled for the 4650G PRO too, but on my computer it has a different PCI vendor and ID than in that code. Mine has 1002:1637 (vendor ATI) while the driver is for 1022:15E2 (which does not exist on this computer).
sudo lspci -d 1002:1637 -v 30:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637 Subsystem: Micro-Star International Co., Ltd. [MSI] Device ec94 Flags: fast devsel, IRQ 94, IOMMU group 4 Memory at fcb88000 (32-bit, non-prefetchable) [size=16K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Capabilities: [64] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Kernel modules: snd_hda_intel