drm kmod with Vega 3

Andriy Gapon avg at FreeBSD.org
Tue Apr 28 08:13:07 UTC 2020


On 17/04/2020 15:08, Andriy Gapon wrote:
> I tried to pick up a few "random" changes from Linux, but nothing helped.
> Here is a FreeBSD log with compat.linuxkpi.drm_debug=0xfff:
> https://people.freebsd.org/~avg/fbsd-dmesg.txt
> Here is Linux log with drm.debug=0xfff:
> https://people.freebsd.org/~avg/linux-5.3.9-dmesg.txt
> 
> They are very similar, but there are some differences.
> Most obviously, Linux does not have those
> [drm] pstate TEST_DEBUG_DATA: 0x0
> WARNING !(0) failed at
> /usr/home/avg/devel/kms-drm/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c:868
> 
> If anyone can suggest anything I will try it (additional debug or code changes
> to test).

With some help from amd-gfx@ mailing list I was able to solve that problem with
a trivial change: https://github.com/FreeBSDDesktop/kms-drm/pull/233
With that change and the change I mentioned earlier (it is now in
https://github.com/FreeBSDDesktop/kms-drm/pull/234) I got amdgpu (v5.0) working.


-- 
Andriy Gapon


More information about the freebsd-x11 mailing list