Re: drm kmod with Vega 3

Andriy Gapon <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.