mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
551ebd837c
This adds the command stream checker for the RN50, R100 and R200 cards. It stops any access to 3D registers on RN50, and does checks on buffer sizes on the r100/r200 cards. It also fixes some texture sizing checks on r300. Signed-off-by: Dave Airlie <airlied@redhat.com>
106 lines
2.6 KiB
Plaintext
106 lines
2.6 KiB
Plaintext
r100 0x3294
|
|
0x1434 SRC_Y_X
|
|
0x1438 DST_Y_X
|
|
0x143C DST_HEIGHT_WIDTH
|
|
0x146C DP_GUI_MASTER_CNTL
|
|
0x1474 BRUSH_Y_X
|
|
0x1478 DP_BRUSH_BKGD_CLR
|
|
0x147C DP_BRUSH_FRGD_CLR
|
|
0x1480 BRUSH_DATA0
|
|
0x1484 BRUSH_DATA1
|
|
0x1598 DST_WIDTH_HEIGHT
|
|
0x15C0 CLR_CMP_CNTL
|
|
0x15C4 CLR_CMP_CLR_SRC
|
|
0x15C8 CLR_CMP_CLR_DST
|
|
0x15CC CLR_CMP_MSK
|
|
0x15D8 DP_SRC_FRGD_CLR
|
|
0x15DC DP_SRC_BKGD_CLR
|
|
0x1600 DST_LINE_START
|
|
0x1604 DST_LINE_END
|
|
0x1608 DST_LINE_PATCOUNT
|
|
0x16C0 DP_CNTL
|
|
0x16CC DP_WRITE_MSK
|
|
0x16D0 DP_CNTL_XDIR_YDIR_YMAJOR
|
|
0x16E8 DEFAULT_SC_BOTTOM_RIGHT
|
|
0x16EC SC_TOP_LEFT
|
|
0x16F0 SC_BOTTOM_RIGHT
|
|
0x16F4 SRC_SC_BOTTOM_RIGHT
|
|
0x1714 DSTCACHE_CTLSTAT
|
|
0x1720 WAIT_UNTIL
|
|
0x172C RBBM_GUICNTL
|
|
0x1810 FOG_3D_TABLE_START
|
|
0x1814 FOG_3D_TABLE_END
|
|
0x1a14 FOG_TABLE_INDEX
|
|
0x1a18 FOG_TABLE_DATA
|
|
0x1c14 PP_MISC
|
|
0x1c18 PP_FOG_COLOR
|
|
0x1c1c RE_SOLID_COLOR
|
|
0x1c20 RB3D_BLENDCNTL
|
|
0x1c4c SE_CNTL
|
|
0x1c50 SE_COORD_FMT
|
|
0x1c60 PP_TXCBLEND_0
|
|
0x1c64 PP_TXABLEND_0
|
|
0x1c68 PP_TFACTOR_0
|
|
0x1c78 PP_TXCBLEND_1
|
|
0x1c7c PP_TXABLEND_1
|
|
0x1c80 PP_TFACTOR_1
|
|
0x1c90 PP_TXCBLEND_2
|
|
0x1c94 PP_TXABLEND_2
|
|
0x1c98 PP_TFACTOR_2
|
|
0x1cc8 RE_STIPPLE_ADDR
|
|
0x1ccc RE_STIPPLE_DATA
|
|
0x1cd0 RE_LINE_PATTERN
|
|
0x1cd4 RE_LINE_STATE
|
|
0x1d40 PP_BORDER_COLOR0
|
|
0x1d44 PP_BORDER_COLOR1
|
|
0x1d48 PP_BORDER_COLOR2
|
|
0x1d7c RB3D_STENCILREFMASK
|
|
0x1d80 RB3D_ROPCNTL
|
|
0x1d84 RB3D_PLANEMASK
|
|
0x1d98 VAP_VPORT_XSCALE
|
|
0x1d9C VAP_VPORT_XOFFSET
|
|
0x1da0 VAP_VPORT_YSCALE
|
|
0x1da4 VAP_VPORT_YOFFSET
|
|
0x1da8 VAP_VPORT_ZSCALE
|
|
0x1dac VAP_VPORT_ZOFFSET
|
|
0x1db0 SE_ZBIAS_FACTOR
|
|
0x1db4 SE_ZBIAS_CONSTANT
|
|
0x1db8 SE_LINE_WIDTH
|
|
0x2140 SE_CNTL_STATUS
|
|
0x2200 SE_TCL_VECTOR_INDX_REG
|
|
0x2204 SE_TCL_VECTOR_DATA_REG
|
|
0x2208 SE_TCL_SCALAR_INDX_REG
|
|
0x220c SE_TCL_SCALAR_DATA_REG
|
|
0x2210 SE_TCL_MATERIAL_EMISSIVE_RED
|
|
0x2214 SE_TCL_MATERIAL_EMISSIVE_GREEN
|
|
0x2218 SE_TCL_MATERIAL_EMISSIVE_BLUE
|
|
0x221c SE_TCL_MATERIAL_EMISSIVE_ALPHA
|
|
0x2220 SE_TCL_MATERIAL_AMBIENT_RED
|
|
0x2224 SE_TCL_MATERIAL_AMBIENT_GREEN
|
|
0x2228 SE_TCL_MATERIAL_AMBIENT_BLUE
|
|
0x222c SE_TCL_MATERIAL_AMBIENT_ALPHA
|
|
0x2230 SE_TCL_MATERIAL_DIFFUSE_RED
|
|
0x2234 SE_TCL_MATERIAL_DIFFUSE_GREEN
|
|
0x2238 SE_TCL_MATERIAL_DIFFUSE_BLUE
|
|
0x223c SE_TCL_MATERIAL_DIFFUSE_ALPHA
|
|
0x2240 SE_TCL_MATERIAL_SPECULAR_RED
|
|
0x2244 SE_TCL_MATERIAL_SPECULAR_GREEN
|
|
0x2248 SE_TCL_MATERIAL_SPECULAR_BLUE
|
|
0x224c SE_TCL_MATERIAL_SPECULAR_ALPHA
|
|
0x2250 SE_TCL_SHININESS
|
|
0x2254 SE_TCL_OUTPUT_VTX_FMT
|
|
0x2258 SE_TCL_OUTPUT_VTX_SEL
|
|
0x225c SE_TCL_MATRIX_SELECT_0
|
|
0x2260 SE_TCL_MATRIX_SELECT_1
|
|
0x2264 SE_TCL_UCP_VERT_BLEND_CNTL
|
|
0x2268 SE_TCL_TEXTURE_PROC_CTL
|
|
0x226c SE_TCL_LIGHT_MODEL_CTL
|
|
0x2270 SE_TCL_PER_LIGHT_CTL_0
|
|
0x2274 SE_TCL_PER_LIGHT_CTL_1
|
|
0x2278 SE_TCL_PER_LIGHT_CTL_2
|
|
0x227c SE_TCL_PER_LIGHT_CTL_3
|
|
0x2284 SE_TCL_STATE_FLUSH
|
|
0x26c0 RE_TOP_LEFT
|
|
0x26c4 RE_MISC
|
|
0x3290 RB3D_ZPASS_DATA
|