]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: split nbio callbacks into ras and non-ras ones
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 2 Apr 2021 06:39:36 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:51:04 +0000 (16:51 -0400)
commita8c6756a8e663e78ee94d20d2a033aa3368917c1
treecf35baff233629f14cbce1e3b48f9fe316ffdfbd
parenteb5906163ae19ad269e4ee492703d55727b9b1af
drm/amdgpu: split nbio callbacks into ras and non-ras ones

nbio ras is not managed by gpu driver when gpu is
connected to cpu through xgmi. split nbio callbacks
into ras and non-ras ones so gpu driver only
initializes nbio ras callbacks when it manages
nbio ras.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
drivers/gpu/drm/amd/amdgpu/soc15.c