diff options
author | Emily Deng <Emily.Deng@amd.com> | 2018-08-17 13:26:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-27 19:11:08 +0300 |
commit | 39b62541aac396d18108c160ddb956a22483046d (patch) | |
tree | 31cfd4dceda260be8ff6233d30b2b607653854fe /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
parent | dd73043534515c1b8bf31f78f0e9945f5d95e0e6 (diff) | |
download | linux-39b62541aac396d18108c160ddb956a22483046d.tar.xz |
drm/amdgpu: Remove the sriov checking and add firmware checking
Unify bare metal and sriov, and add firmware checking for
reg write and reg wait unify command.
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 53e9e2a0821e..f172e92c463c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -274,6 +274,8 @@ struct amdgpu_gfx { uint32_t rlc_srls_feature_version; uint32_t mec_feature_version; uint32_t mec2_feature_version; + bool mec_fw_write_wait; + bool me_fw_write_wait; struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS]; unsigned num_gfx_rings; struct amdgpu_ring compute_ring[AMDGPU_MAX_COMPUTE_RINGS]; |