]> 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)
commit9b786983b27332500532ccdec51718633069ada7
treed4d4e650a5c7dd91d9e95a2ac35e22ae0ad97ca8
parentc00112d436f78ccc9b0e3317475622066970c5fa
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