Skip to content

Commit f0b9199

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amdgpu: Fix logic to determine TOS reload
Avoid comparing TOS version on APUs. On APUs driver doesn't take care of TOS load. Fixes: 0ff3822 ("drm/amdgpu: Add interface for TOS reload cases") Signed-off-by: Lijo Lazar <[email protected]> Acked-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 6a9456e commit f0b9199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ bool amdgpu_psp_tos_reload_needed(struct amdgpu_device *adev)
22702270
{
22712271
struct psp_context *psp = &adev->psp;
22722272

2273-
if (amdgpu_sriov_vf(adev))
2273+
if (amdgpu_sriov_vf(adev) || (adev->flags & AMD_IS_APU))
22742274
return false;
22752275

22762276
if (psp->funcs && psp->funcs->is_reload_needed)

0 commit comments

Comments
 (0)