Created attachment 591776 [details] emerge --info output AMDGPU stock driver does not recognize new Picasso implementation as found inside the AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx APU. The hardware seems to be the same as Raven one with mobility capability added. Thus, it's easy to make it recognized, adding the new PCI ID to the AMDGPU driver. Here you'll find the patch I've made to my kernel; graphics is OK, with no noticeable issue.
Created attachment 591778 [details, diff] Patch to make Picasso AMDGPU recognized and properly working Signed-off-by: Jocelyn MAYER l_indien@magic.fr
Created attachment 591780 [details] Ryzen 5 3500U cpu informations as retrieved from lscpu and /proc/cpuinfo
Comment on attachment 591778 [details, diff] Patch to make Picasso AMDGPU recognized and properly working >--- linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdkfd/kfd_device.c 2019-08-26 06:23:22.683079348 +0200 >+++ linux-4.19.66-gentoo/drivers/gpu/drm/amd/amdkfd/kfd_device.c 2019-09-09 13:31:18.563024146 +0200 >@@ -275,6 +275,7 @@ static const struct kfd_deviceid support > { 0x9876, &carrizo_device_info }, /* Carrizo */ > { 0x9877, &carrizo_device_info }, /* Carrizo */ > { 0x15DD, &raven_device_info }, /* Raven */ >+ { 0x15D8, &raven_device_info }, /* Raven */ Is that comment correct?
Created attachment 591782 [details] dmesg output cutoff after the proposed patch applied
I guess the comment is correct as, in the other part of the patch, the device is recognized with the CHIP_RAVEN flag; in another hand, as I also set the AMD_IS_MOBILITY flag, /* Raven Mobile */ might be a better comment... with regards J. Mayer
This is in kernels >= 5.4. Do you need this in earlier kernels?