drm/amdgpu: Allow to reset to EERPOM table.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 9 Sep 2019 20:00:56 +0000 (16:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:06:34 +0000 (10:06 -0500)
commit084fe13b2c232c8f3e6e926597dd6daf1fda4d1b
treeaedc91cbed7b2a9b96edd1ea3d9ec3e4cb29954c
parentd01b400b1aaeb37eb28a1df22f548309ab35d482
drm/amdgpu: Allow to reset to EERPOM table.

The table grows quickly during debug/development effort when
multiple RAS errors are injected. Allow to avoid this by setting
table header back to empty if needed.

v2: Switch to debugfs entry instead of load time parameter.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@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.c