On an RX 6500 XT card I set /sys/class/drm/card*/device/power_dpm_force_performance_level to "profile_standard" before I start any game. That is to avoid overheating (95+ °C) which occurs quickly when the perf level is left at the default of "auto" (it's some sort of OC card) and impacts the GPU as well as the nearby mobo components (I get a thermal warning in kernel log about the onboard audio chip). The perf level setting spontaneously reverts back to "auto" at random, however, and I'm forced to run a script which polls power_dpm_force_performance_level and corrects it when necessary. This happens 0-10 times per hour while playing. MSI Radeon RX 6500 XT MECH 2X 4G OC. Kernel 6.1.57, x86_64, Gentoo, gcc 13.2.1 20230826, X11, xf86-video-amdgpu-23.0.0, linux-firmware-20230919.
Created attachment 305225 [details] config-6.1.57
Created attachment 305226 [details] lspci -vv
Please report here instead: https://gitlab.freedesktop.org/drm/amd/-/issues 6.1.x is really not the best kernel to use with this card. You should try something fresher, i.e. 6.5.7.
UMDs (e.g., mesa) can change the power profile as well. E.g., if they want to capture an SQ trace, etc. It's likely that is the cause.
Thanks, I passed the info on. https://gitlab.freedesktop.org/drm/amd/-/issues/2931