drm/amdgpu: add ras error query count interface for nbio
authorGuchun Chen <guchun.chen@amd.com>
Wed, 4 Sep 2019 06:58:54 +0000 (14:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:09:21 +0000 (10:09 -0500)
commit52652ef286358a8e18d2ffb2f18e665d6f5f4a7a
tree47f3ab5a854e6d6756644d7e7b4b156ba00c4345
parentff9d09719359a9afe46abf58fa9064893423651c
drm/amdgpu: add ras error query count interface for nbio

Add the interface query_ras_error_count for nbio.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@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_nbio.h
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c