[PATCH] drm/amd/powerplay: check whether SMU IP is enabled before access

2020-05-24 Thread Evan Quan
Since on early phase of bringup, the SMU IP may be not enabled or supported. Without this, we may hit null pointer dereference on accessing smu->adev. Change-Id: I644175e926cd4fef8259f89002d6f8eda04fe42c Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 266 +-

Re: slow rx 5600 xt fps

2020-05-24 Thread Javad Karabi
wow, i totally just realized that this is what you meant by talking about primary gpu, early on in this email chain. ive come full circle! you were totally right and even knew exactly what the easiest change was lol. my bad! On Sun, May 24, 2020 at 8:03 PM Javad Karabi wrote: > > Michel, ah my ba

Re: slow rx 5600 xt fps

2020-05-24 Thread Javad Karabi
Michel, ah my bad! thank you. sorry, thought it was mutter also, one other thing. so i have been messing around with all types of xorg configuration blah blah blah, but i just had an epiphany, and it works! so, all i ever needed to do was add Option "PrimaryGpu" "true" to /usr/share/X11/xorg.conf