]> asedeno.scripts.mit.edu Git - linux.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)
commit108c6a6309c96a27010ff300c96ebba341cae44a
treed4d4e650a5c7dd91d9e95a2ac35e22ae0ad97ca8
parent5d0f903fe215e7f0fc790106827207f5185ea9b5
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