diff options
author | 2016-10-03 00:06:44 +0300 | |
---|---|---|
committer | 2016-10-06 12:39:02 -0400 | |
commit | 8a2eef1dbc85273c57d6f2cf73e5d7c97b1a25f4 (patch) | |
tree | c813f3f53744b313125d45b07e7a82716b88020f /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | drm/amdgpu/virtual_dce: adjust config ifdef (diff) | |
download | wireguard-linux-8a2eef1dbc85273c57d6f2cf73e5d7c97b1a25f4.tar.xz wireguard-linux-8a2eef1dbc85273c57d6f2cf73e5d7c97b1a25f4.zip |
drm/amdgpu: also track late init state
Successful sw_init() and hw_init() states are tracked, but not
late_init(). Various error paths may result in amdgpu_fini() being
called before .late init is done, so late_init needs to be tracked
to avoid unexpected or multiple .late_fini() calls.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 235f3902643a..039b57e4644c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1943,6 +1943,7 @@ struct amdgpu_ip_block_status { bool valid; bool sw; bool hw; + bool late_initialized; bool hang; }; |