aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-06-27 05:06:01 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 15:06:02 -0400
commit6adb0513a4bf8ac0b11b3f7676e4e4210016aadd (patch)
treeee5f95891b361b3beeff62dbf502e9e1b67824c3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent847b6cf9fb771341a550661ef61d510722eba785 (diff)
drm/amdgpu: must update page table after gpu reset
Record the gpu reset count in vmid to identify if gpu reset happened. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Chunming Zhou <David1.Zhou@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 7df1f486f1fb..0c8be665ca2c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -897,6 +897,8 @@ struct amdgpu_vm_id {
897 /* last flushed PD/PT update */ 897 /* last flushed PD/PT update */
898 struct fence *flushed_updates; 898 struct fence *flushed_updates;
899 899
900 uint32_t current_gpu_reset_count;
901
900 uint32_t gds_base; 902 uint32_t gds_base;
901 uint32_t gds_size; 903 uint32_t gds_size;
902 uint32_t gws_base; 904 uint32_t gws_base;