]> www.infradead.org Git - linux.git/commit
drm/amdgpu: handle default profile on on devices without fullscreen 3D
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Oct 2024 16:35:51 +0000 (12:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 22:21:51 +0000 (18:21 -0400)
commit7c210ca5a2d72868e5a052fc533d5dcb7e070f89
tree05f6fcf447184b08cbf2087fe9b37fe9e08c5772
parentba1959f71117b27f3099ee789e0815360b4081dd
drm/amdgpu: handle default profile on on devices without fullscreen 3D

Some devices do not support fullscreen 3D.

v2: Make the check generic.

Fixes: ec1aab7816b0 ("drm/amdgpu/swsmu: default to fullscreen 3D profile for dGPUs")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Kenneth Feng <kenneth.feng@amd.com>
Cc: Lijo Lazar <lijo.lazar@amd.com>
(cherry picked from commit 1cdd67510e54e3832f14a885dbf5858584558650)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c