Date: Tue, 28 Apr 2020 11:13:02 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-x11@freebsd.org Subject: Re: drm kmod with Vega 3 Message-ID: <1e19b410-6e1b-58a0-9591-66d5982066fc@FreeBSD.org> In-Reply-To: <89efbce5-2950-7206-7af5-2ffd2edf49aa@FreeBSD.org> References: <2ca574c4-431e-7387-cea0-7563ef301df7@FreeBSD.org> <6c8c7e81-8abd-a8d7-f4cf-3e26fc328bcd@gjunka.com> <e0d95bf8-babb-a9e3-60f8-6c90484067b4@FreeBSD.org> <1abf8e1e-8a5a-e9fe-a45b-eb5cb20f03f7@FreeBSD.org> <89efbce5-2950-7206-7af5-2ffd2edf49aa@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e19b410-6e1b-58a0-9591-66d5982066fc>