]> 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)
commit4ee214ba9f288ef742fb7d0dd1bf2543868406ba
tree78029c8e7a5760014bafc7b212dfcc5e84330842
parent1c92f1622a6ba100c768d6688305186984580455
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