Merge pull request #708 from parkerlamb/gpu_regs

Added GPU register definitions
This commit is contained in:
Justin Moore 2017-06-07 10:05:58 -05:00 committed by GitHub
commit 8cf8707d4e
1 changed files with 16 additions and 0 deletions

View File

@ -49,6 +49,22 @@ XE_GPU_REGISTER(0x0E42, kDword, UNKNOWN_0E42)
XE_GPU_REGISTER(0x0F01, kDword, RB_BC_CONTROL) XE_GPU_REGISTER(0x0F01, kDword, RB_BC_CONTROL)
// D1*, LUT, and AVIVO registers taken from libxenon and https://www.x.org/docs/AMD/old/RRG-216M56-03oOEM.pdf
XE_GPU_REGISTER(0x1838, kDword, D1MODE_MASTER_UPDATE_LOCK)
XE_GPU_REGISTER(0x1841, kDword, D1GRPH_CONTROL)
XE_GPU_REGISTER(0x1844, kDword, D1GRPH_PRIMARY_SURFACE_ADDRESS)
XE_GPU_REGISTER(0x1852, kDword, D1GRPH_FLIP_CONTROL)
XE_GPU_REGISTER(0x1921, kDword, DC_LUT_RW_MODE)
XE_GPU_REGISTER(0x1922, kDword, DC_LUT_RW_INDEX)
XE_GPU_REGISTER(0x1925, kDword, DC_LUT_30_COLOR)
XE_GPU_REGISTER(0x1927, kDword, DC_LUT_WRITE_EN_MASK)
XE_GPU_REGISTER(0x1930, kDword, DC_LUTA_CONTROL)
XE_GPU_REGISTER(0x1964, kDword, AVIVO_D1SCL_SCALER_ENABLE)
XE_GPU_REGISTER(0x1973, kDword, AVIVO_D1SCL_UPDATE)
XE_GPU_REGISTER(0x2000, kDword, RB_SURFACE_INFO) XE_GPU_REGISTER(0x2000, kDword, RB_SURFACE_INFO)
XE_GPU_REGISTER(0x2001, kDword, RB_COLOR_INFO) XE_GPU_REGISTER(0x2001, kDword, RB_COLOR_INFO)
XE_GPU_REGISTER(0x2002, kDword, RB_DEPTH_INFO) XE_GPU_REGISTER(0x2002, kDword, RB_DEPTH_INFO)