]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: add psp funcs callback to check if aux fw is needed
authorLe Ma <le.ma@amd.com>
Tue, 10 Sep 2024 09:53:42 +0000 (17:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:15:06 +0000 (16:15 -0400)
commit2ae6cd583c4c86c2b7e879b07effb8ffb10756bc
tree7dbc8708dd46ff8bcef605992d1ae6639b5e0d1b
parent151b1813919d4ab932e69ca4032761ee0789b04c
drm/amdgpu: add psp funcs callback to check if aux fw is needed

Query pmfw version to determine if aux sos fw needs to be loaded
in psp v13.0.

v2: refine callback to check if aux_fw loading is needed instead of
    getting pmfw version barely
v3: return the comparison directly

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c