FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

enable CONFIG_DRM_AMD_DC_DCN1_01 on amd64 #233

Closed avg-I closed 4 years ago

avg-I commented 4 years ago

This allows amdgpu to work with my Vega 3 (Raven 2) graphics integrated into Ryzen 3 3200U. Without CONFIG_DRM_AMD_DC_DCN1_01 there is not signal on the screen despite the driver successfully attaching. I see that driver incorrectly detects the number of pipes and timing generators (4 instead of 3). And probably there are other problems with talking to the hardware.

avg-I commented 4 years ago

FWIW, CONFIG_DRM_AMD_DC_DCN1_01 were unifdefed in Linux about a year ago. See torvalds/linux@97df424fe7a7497.

valpackett commented 4 years ago

about a year ago

GitHub helpfully shows that v5.3-rc1 was the first release with that.

Maybe we'll catch up to 5.3 soon with @amshafer working on the updates :)

zeising commented 4 years ago

If I understand @myfreeweb correctly, you are pulling in one change from v5.3 into a 5.0 branch, that moves hardware support to a newer chip? How many other changes are needed to actually getting this going?

If this is the case, I'm very hesitant that this is a good idea.

avg-I commented 4 years ago

@zeising, this change (which is trivial and which is a direct change) plus #234 is all that's needed for my hardware to work.