aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2016-04-14 17:26:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:27:28 -0400
commit2b6cd9779707f1f7974205320a058ef80aa2cdd4 (patch)
tree4573ca58b639f2070bb58737135f2893cce7275e /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent538333f0dcc00e24ca4bd63905fa75aa41b4c665 (diff)
drm/amd/amdgpu: add power gating initialization support for GFX8.0
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 5399f3a2453f..6cc174f9d583 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1076,6 +1076,20 @@ struct amdgpu_rlc {
1076 /* safe mode for updating CG/PG state */ 1076 /* safe mode for updating CG/PG state */
1077 bool in_safe_mode; 1077 bool in_safe_mode;
1078 const struct amdgpu_rlc_funcs *funcs; 1078 const struct amdgpu_rlc_funcs *funcs;
1079
1080 /* for firmware data */
1081 u32 save_and_restore_offset;
1082 u32 clear_state_descriptor_offset;
1083 u32 avail_scratch_ram_locations;
1084 u32 reg_restore_list_size;
1085 u32 reg_list_format_start;
1086 u32 reg_list_format_separate_start;
1087 u32 starting_offsets_start;
1088 u32 reg_list_format_size_bytes;
1089 u32 reg_list_size_bytes;
1090
1091 u32 *register_list_format;
1092 u32 *register_restore;
1079}; 1093};
1080 1094
1081struct amdgpu_mec { 1095struct amdgpu_mec {