drm/amdgpu/swsmu: default to fullscreen 3D profile for dGPUs
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2024 13:57:38 +0000 (09:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:26:19 +0000 (11:26 -0400)
commit336568de918e08c825b3b1cbe2ec809f2fc26d94
tree539826686182c634a41ac5d629adef377d0e4b79
parent580ad7cbd4b7be8d2cb5ab5c1fca6bb76045eb0e
drm/amdgpu/swsmu: default to fullscreen 3D profile for dGPUs

This uses more aggressive hueristics than the the bootup default
profile.  On windows the OS has a special fullscreen 3D mode
where this is used.  Since we don't have the equivalent on Linux
default to this profile for dGPUs.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3618
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1500
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3131
Fixes: c50fe289ed72 ("drm/amdgpu/swsmu: always force a state reprogram on init")
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c