]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add sysfs to shows psp vbflash status
authorLikun Gao <Likun.Gao@amd.com>
Thu, 5 May 2022 19:45:06 +0000 (15:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:10 +0000 (17:53 -0400)
commit9f8da46c29dc10f6b9e3a15dc3e58a93858e5ded
tree78029c8e7a5760014bafc7b212dfcc5e84330842
parent8ea0083aa4c6bc86c9603dbad3264dd340ad1108
drm/amdgpu: add sysfs to shows psp vbflash status

Add new sysfs interface to shows the status of psp vbflash status.

V2: rename the sysfs interface, and set more return value.
    (0: not start; 1: in progress; MBX115 value when vbflash finish)
V3: warning fixes

Signed-off-by: Likun Gao <Likun.Gao@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.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c