]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:Fix EEPROM checksum calculation.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 12 Sep 2019 21:16:32 +0000 (17:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 20:30:44 +0000 (15:30 -0500)
commita7a8aeacaaebef703bde4ca103d1a7a3ae2fc544
tree9f6a2f642acc46df4003d1750d2ac9058e05eaf3
parenta6db06f669bb9827e43ef74a531a55c40b1390be
drm/amdgpu:Fix EEPROM checksum calculation.

Fix checksum calculation after manually resetting the table.
Unify reset and empty EEPROM init flow.
Protect the table reset with lock.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c