Bug 112071

Summary: 5700 XT: ppfeaturemask doesn't work with iGPU multi-monitor
Product: DRI Reporter: zamundaaalp
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: minor    
Priority: not set CC: zamundaaalp
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
/var/log/Xorg.0.log
none
dmesg output none

Description zamundaaalp 2019-10-20 10:46:00 UTC
If the BIOS option "iGPU multi-monitor" is enabled (so I can use the internal GPU ports, namely DVI) amdgpu.ppfeaturemask doesn't do anything anymore.
"cat /sys/module/amdgpu/parameters/ppfeaturemask" gives the mask I set (either fffd7fff or simply 0xffffffff) but the files like /sys/class/drm/card0/device/pp_od_clk_voltage don't actually get created. They do if I disable iGPU multi-monitor.

Wether I'm on kernel 5.3.6 or 5.4rc2 doesn't matter, wether I'm on Mesa 19.2 or 19.3 (git) doesn't matter as well.
Comment 1 Alex Deucher 2019-10-20 18:28:51 UTC
Please attach your dmesg output and xorg log (if using X).
Comment 2 zamundaaalp 2019-10-20 18:54:46 UTC
Created attachment 145780 [details]
/var/log/Xorg.0.log
Comment 3 zamundaaalp 2019-10-20 18:55:32 UTC
Created attachment 145781 [details]
dmesg output
Comment 4 zamundaaalp 2019-10-20 18:57:08 UTC
Thanks for taking a look :)
Comment 5 zamundaaalp 2019-10-20 22:29:19 UTC
I am really sorry. I completely overlooked that my external GPU might simply be card1 and the internal one card0. Because that's the case. The files are all there in /sys/class/drm/card1/device/ like expected.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.