]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/ras: Add aca common ras functions
authorYiPeng Chai <YiPeng.Chai@amd.com>
Mon, 17 Mar 2025 09:15:59 +0000 (17:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:28 +0000 (14:14 -0400)
commit88e379e5b82e09f4dfed181831fb7f2d58fd7dfe
treef3c19d0ca883cd2e73de146d9dbafd87c3182f6a
parentfd98319f73af4e3e44b67290b5b8db6dfd1afa21
drm/amd/ras: Add aca common ras functions

Add aca common ras functions:
1. Aca hw init/fini.
2. Get ecc count of each ras block.
3. Update query ecc count from mp1.
4. Clear ras block ecc count.

V3:
  Update the calling function.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-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/ras/rascore/ras_aca.c [new file with mode: 0644]
drivers/gpu/drm/amd/ras/rascore/ras_aca.h [new file with mode: 0644]