diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2016-07-15 11:28:30 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 11:32:01 -0400 |
commit | 3d7c63849072747eaba6b5d35671bd9cd2d002c1 (patch) | |
tree | 8bb4490cf8c9f543c062caba08427c76bdf78dbb /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 63fbf42f7307a5911237fed3285e669d9d4d0d1a (diff) | |
download | lwn-3d7c63849072747eaba6b5d35671bd9cd2d002c1.tar.gz lwn-3d7c63849072747eaba6b5d35671bd9cd2d002c1.zip |
drm/amdgpu: implement gfx8 check_soft_reset
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index a21b342ab2a3..b6e8e7a825f8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1195,6 +1195,10 @@ struct amdgpu_gfx { unsigned ce_ram_size; struct amdgpu_cu_info cu_info; const struct amdgpu_gfx_funcs *funcs; + + /* reset mask */ + uint32_t grbm_soft_reset; + uint32_t srbm_soft_reset; }; int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm, |