]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: split ras_eeprom_init into init and check functions
authorTao Zhou <tao.zhou1@amd.com>
Thu, 28 Nov 2024 10:30:36 +0000 (18:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:51 +0000 (10:26 -0500)
commit1f06e7f344c4ac66184ee6bb49d83b8c413306ca
tree705e24c07603f5fa8640549ff81bdcc6de842a2f
parentea5d49349894a7a74ce8dba242e3a487d24b6c0e
drm/amdgpu: split ras_eeprom_init into init and check functions

Init function is for ras table header read and check function is
responsible for the validation of the header. Call them in different
stages.

Signed-off-by: Tao Zhou <tao.zhou1@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_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h