diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 71b9b861f60e..fb17838114c3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -930,6 +930,11 @@ struct amdgpu_ngg { | |||
930 | bool init; | 930 | bool init; |
931 | }; | 931 | }; |
932 | 932 | ||
933 | struct sq_work { | ||
934 | struct work_struct work; | ||
935 | unsigned ih_data; | ||
936 | }; | ||
937 | |||
933 | struct amdgpu_gfx { | 938 | struct amdgpu_gfx { |
934 | struct mutex gpu_clock_mutex; | 939 | struct mutex gpu_clock_mutex; |
935 | struct amdgpu_gfx_config config; | 940 | struct amdgpu_gfx_config config; |
@@ -970,6 +975,8 @@ struct amdgpu_gfx { | |||
970 | struct amdgpu_irq_src priv_inst_irq; | 975 | struct amdgpu_irq_src priv_inst_irq; |
971 | struct amdgpu_irq_src cp_ecc_error_irq; | 976 | struct amdgpu_irq_src cp_ecc_error_irq; |
972 | struct amdgpu_irq_src sq_irq; | 977 | struct amdgpu_irq_src sq_irq; |
978 | struct sq_work sq_work; | ||
979 | |||
973 | /* gfx status */ | 980 | /* gfx status */ |
974 | uint32_t gfx_current_status; | 981 | uint32_t gfx_current_status; |
975 | /* ce ram size*/ | 982 | /* ce ram size*/ |