aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-03-02 20:07:29 -0500
committerDave Airlie <airlied@redhat.com>2011-03-02 20:50:59 -0500
commitfecf1d072f96114266ed3aae8c4fb93f9c179b00 (patch)
tree82d312f3dc9019f03bcdbd84df9d242cdd811b54 /drivers/gpu/drm/radeon/radeon.h
parent9b8253ce204ad9fcd2aec315066492dfbc73e409 (diff)
drm/radeon/kms: add gpu_init function for cayman
This may some work to get accel going. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 55fefe763965..4b77b79fbbc2 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1050,12 +1050,52 @@ struct evergreen_asic {
1050 struct r100_gpu_lockup lockup; 1050 struct r100_gpu_lockup lockup;
1051}; 1051};
1052 1052
1053struct cayman_asic {
1054 unsigned max_shader_engines;
1055 unsigned max_pipes_per_simd;
1056 unsigned max_tile_pipes;
1057 unsigned max_simds_per_se;
1058 unsigned max_backends_per_se;
1059 unsigned max_texture_channel_caches;
1060 unsigned max_gprs;
1061 unsigned max_threads;
1062 unsigned max_gs_threads;
1063 unsigned max_stack_entries;
1064 unsigned sx_num_of_sets;
1065 unsigned sx_max_export_size;
1066 unsigned sx_max_export_pos_size;
1067 unsigned sx_max_export_smx_size;
1068 unsigned max_hw_contexts;
1069 unsigned sq_num_cf_insts;
1070 unsigned sc_prim_fifo_size;
1071 unsigned sc_hiz_tile_fifo_size;
1072 unsigned sc_earlyz_tile_fifo_size;
1073
1074 unsigned num_shader_engines;
1075 unsigned num_shader_pipes_per_simd;
1076 unsigned num_tile_pipes;
1077 unsigned num_simds_per_se;
1078 unsigned num_backends_per_se;
1079 unsigned backend_disable_mask_per_asic;
1080 unsigned backend_map;
1081 unsigned num_texture_channel_caches;
1082 unsigned mem_max_burst_length_bytes;
1083 unsigned mem_row_size_in_kb;
1084 unsigned shader_engine_tile_size;
1085 unsigned num_gpus;
1086 unsigned multi_gpu_tile_size;
1087
1088 unsigned tile_config;
1089 struct r100_gpu_lockup lockup;
1090};
1091
1053union radeon_asic_config { 1092union radeon_asic_config {
1054 struct r300_asic r300; 1093 struct r300_asic r300;
1055 struct r100_asic r100; 1094 struct r100_asic r100;
1056 struct r600_asic r600; 1095 struct r600_asic r600;
1057 struct rv770_asic rv770; 1096 struct rv770_asic rv770;
1058 struct evergreen_asic evergreen; 1097 struct evergreen_asic evergreen;
1098 struct cayman_asic cayman;
1059}; 1099};
1060 1100
1061/* 1101/*