]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add new ras workflow control flags
authorxinhui pan <xinhui.pan@amd.com>
Mon, 11 Mar 2019 07:23:00 +0000 (15:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:52 +0000 (15:36 -0500)
commit8567c51d1f6baf8818daea6288f411d71a9547d8
treed4d4e650a5c7dd91d9e95a2ac35e22ae0ad97ca8
parent41b9b321aa613ccbbf18907e65ab65ecf4c501cd
drm/amdgpu: add new ras workflow control flags

add ras post init function.
Do some initialization after all IP have finished their late init.

Add new member flags which will control the ras work flow.
For now, vbios enable ras for us on boot. That might change in the
future.
So there should be a flag from vbios to tell us if ras is enabled or not
on boot. Looks like there is no such info now.

Other bits of the flags are reserved to control other parts of ras.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h