~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/radeon/evergreend.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
#define GB_BACKEND_MAP                                  0x98FC
65
65
#define DMIF_ADDR_CONFIG                                0xBD4
66
66
#define HDP_ADDR_CONFIG                                 0x2F48
 
67
#define HDP_MISC_CNTL                                   0x2F4C
 
68
#define         HDP_FLUSH_INVALIDATE_CACHE              (1 << 0)
67
69
 
68
70
#define CC_SYS_RB_BACKEND_DISABLE                       0x3F88
69
71
#define GC_USER_RB_BACKEND_DISABLE                      0x9B7C
166
168
#define         SE_DB_BUSY                                      (1 << 30)
167
169
#define         SE_CB_BUSY                                      (1 << 31)
168
170
/* evergreen */
 
171
#define CG_THERMAL_CTRL                                 0x72c
 
172
#define         TOFFSET_MASK                            0x00003FE0
 
173
#define         TOFFSET_SHIFT                           5
169
174
#define CG_MULT_THERMAL_STATUS                          0x740
170
175
#define         ASIC_T(x)                               ((x) << 16)
171
 
#define         ASIC_T_MASK                             0x7FF0000
 
176
#define         ASIC_T_MASK                             0x07FF0000
172
177
#define         ASIC_T_SHIFT                            16
 
178
#define CG_TS0_STATUS                                   0x760
 
179
#define         TS0_ADC_DOUT_MASK                       0x000003FF
 
180
#define         TS0_ADC_DOUT_SHIFT                      0
173
181
/* APU */
174
182
#define CG_THERMAL_STATUS                               0x678
175
183
 
200
208
#define         BURSTLENGTH_SHIFT                               9
201
209
#define         BURSTLENGTH_MASK                                0x00000200
202
210
#define         CHANSIZE_OVERRIDE                               (1 << 11)
 
211
#define FUS_MC_ARB_RAMCFG                               0x2768
203
212
#define MC_VM_AGP_TOP                                   0x2028
204
213
#define MC_VM_AGP_BOT                                   0x202C
205
214
#define MC_VM_AGP_BASE                                  0x2030
221
230
#define MC_VM_MD_L1_TLB0_CNTL                           0x2654
222
231
#define MC_VM_MD_L1_TLB1_CNTL                           0x2658
223
232
#define MC_VM_MD_L1_TLB2_CNTL                           0x265C
 
233
 
 
234
#define FUS_MC_VM_MD_L1_TLB0_CNTL                       0x265C
 
235
#define FUS_MC_VM_MD_L1_TLB1_CNTL                       0x2660
 
236
#define FUS_MC_VM_MD_L1_TLB2_CNTL                       0x2664
 
237
 
224
238
#define MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR              0x203C
225
239
#define MC_VM_SYSTEM_APERTURE_HIGH_ADDR                 0x2038
226
240
#define MC_VM_SYSTEM_APERTURE_LOW_ADDR                  0x2034
452
466
#define IH_RB_WPTR_ADDR_LO                                0x3e14
453
467
#define IH_CNTL                                           0x3e18
454
468
#       define ENABLE_INTR                                (1 << 0)
455
 
#       define IH_MC_SWAP(x)                              ((x) << 2)
 
469
#       define IH_MC_SWAP(x)                              ((x) << 1)
456
470
#       define IH_MC_SWAP_NONE                            0
457
471
#       define IH_MC_SWAP_16BIT                           1
458
472
#       define IH_MC_SWAP_32BIT                           2
533
547
#       define LB_D5_VBLANK_INTERRUPT                   (1 << 3)
534
548
#       define DC_HPD5_INTERRUPT                        (1 << 17)
535
549
#       define DC_HPD5_RX_INTERRUPT                     (1 << 18)
536
 
#define DISP_INTERRUPT_STATUS_CONTINUE5                 0x6050
 
550
#define DISP_INTERRUPT_STATUS_CONTINUE5                 0x6150
537
551
#       define LB_D6_VLINE_INTERRUPT                    (1 << 2)
538
552
#       define LB_D6_VBLANK_INTERRUPT                   (1 << 3)
539
553
#       define DC_HPD6_INTERRUPT                        (1 << 17)
755
769
 
756
770
#define SQ_CONST_MEM_BASE                               0x8df8
757
771
 
 
772
#define SQ_ESGS_RING_BASE                               0x8c40
758
773
#define SQ_ESGS_RING_SIZE                               0x8c44
 
774
#define SQ_GSVS_RING_BASE                               0x8c48
759
775
#define SQ_GSVS_RING_SIZE                               0x8c4c
 
776
#define SQ_ESTMP_RING_BASE                              0x8c50
760
777
#define SQ_ESTMP_RING_SIZE                              0x8c54
 
778
#define SQ_GSTMP_RING_BASE                              0x8c58
761
779
#define SQ_GSTMP_RING_SIZE                              0x8c5c
 
780
#define SQ_VSTMP_RING_BASE                              0x8c60
762
781
#define SQ_VSTMP_RING_SIZE                              0x8c64
 
782
#define SQ_PSTMP_RING_BASE                              0x8c68
763
783
#define SQ_PSTMP_RING_SIZE                              0x8c6c
 
784
#define SQ_LSTMP_RING_BASE                              0x8e10
764
785
#define SQ_LSTMP_RING_SIZE                              0x8e14
 
786
#define SQ_HSTMP_RING_BASE                              0x8e18
765
787
#define SQ_HSTMP_RING_SIZE                              0x8e1c
766
788
#define VGT_TF_RING_SIZE                                0x8988
767
789
 
1093
1115
#define SQ_TEX_RESOURCE_WORD6_0                         0x30018
1094
1116
#define SQ_TEX_RESOURCE_WORD7_0                         0x3001c
1095
1117
 
 
1118
/* cayman 3D regs */
 
1119
#define CAYMAN_VGT_OFFCHIP_LDS_BASE                     0x89B0
 
1120
#define CAYMAN_DB_EQAA                                  0x28804
 
1121
#define CAYMAN_DB_DEPTH_INFO                            0x2803C
 
1122
#define CAYMAN_PA_SC_AA_CONFIG                          0x28BE0
 
1123
#define         CAYMAN_MSAA_NUM_SAMPLES_SHIFT           0
 
1124
#define         CAYMAN_MSAA_NUM_SAMPLES_MASK            0x7
 
1125
/* cayman packet3 addition */
 
1126
#define CAYMAN_PACKET3_DEALLOC_STATE                    0x14
1096
1127
 
1097
1128
#endif