Hi,
A problem exists where dGPUs with type-C ports are considered power supplies that power the system. This leads to poor performance of the dGPU because graphics drivers like amdgpu use power_supply_is_system_supplied() to decide how to configure the dGPU. This has been fixed in 6.5-rc1 by marking dGPUs as "DEVICE".
The logic to fix what to do when DEVICE is encountered was fixed in 6.4-rc4 and already backported to stable: 95339f40a8b6 ("power: supply: Fix logic checking if system is running from battery")
So to wrap up the fix in stable kernels can you please backport:
6.4.y: a7fbfd44c020 ("usb: typec: ucsi: Mark dGPUs as DEVICE scope")
6.1.y: f510b0a3565b ("i2c: nvidia-gpu: Add ACPI property to align with device-tree") 430b38764fbb ("i2c: nvidia-gpu: Remove ccgx,firmware-build property") a7fbfd44c020 ("usb: typec: ucsi: Mark dGPUs as DEVICE scope")
Thanks!
On Wed, Jul 12, 2023 at 04:51:24PM -0500, Limonciello, Mario wrote:
Hi,
A problem exists where dGPUs with type-C ports are considered power supplies that power the system. This leads to poor performance of the dGPU because graphics drivers like amdgpu use power_supply_is_system_supplied() to decide how to configure the dGPU. This has been fixed in 6.5-rc1 by marking dGPUs as "DEVICE".
The logic to fix what to do when DEVICE is encountered was fixed in 6.4-rc4 and already backported to stable: 95339f40a8b6 ("power: supply: Fix logic checking if system is running from battery")
So to wrap up the fix in stable kernels can you please backport:
6.4.y: a7fbfd44c020 ("usb: typec: ucsi: Mark dGPUs as DEVICE scope")
6.1.y: f510b0a3565b ("i2c: nvidia-gpu: Add ACPI property to align with device-tree") 430b38764fbb ("i2c: nvidia-gpu: Remove ccgx,firmware-build property") a7fbfd44c020 ("usb: typec: ucsi: Mark dGPUs as DEVICE scope")
All now qeueud up, thanks.
greg k-h
linux-stable-mirror@lists.linaro.org