[PATCH] drm/radeon: Cayman - add missing registers
Marek Olšák
maraeo at gmail.com
Mon Dec 2 03:45:04 PST 2013
The registers aren't listed because they are not safe and they need to
be checked by the CS checker.
NAK.
Marek
On Mon, Dec 2, 2013 at 8:34 AM, Alexandre Demers
<alexandre.f.demers at gmail.com> wrote:
> Added some missing registers listed in documentation.
>
> Signed-off-by: Alexandre Demers <alexandre.f.demers at gmail.com>
> ---
> drivers/gpu/drm/radeon/reg_srcs/cayman | 78 +++++++++++++++++++++++++++++-----
> 1 file changed, 67 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/reg_srcs/cayman b/drivers/gpu/drm/radeon/reg_srcs/cayman
> index ca8896d..596cd62 100644
> --- a/drivers/gpu/drm/radeon/reg_srcs/cayman
> +++ b/drivers/gpu/drm/radeon/reg_srcs/cayman
> @@ -559,50 +559,106 @@ cayman 0x9400
> 0x00028C34 PA_SC_AA_SAMPLE_LOCS_PIXEL_X1_Y1_3
> 0x00028C38 PA_SC_AA_MASK_X0_Y0_X1_Y0
> 0x00028C3C PA_SC_AA_MASK_X0_Y1_X1_Y1
> +0x00028C70 CB_COLOR0_INFO
> +0x00028C74 CB_COLOR0_ATTRIB
> 0x00028C78 CB_COLOR0_DIM
> -0x00028CB4 CB_COLOR1_DIM
> -0x00028CF0 CB_COLOR2_DIM
> -0x00028D2C CB_COLOR3_DIM
> -0x00028D68 CB_COLOR4_DIM
> -0x00028DA4 CB_COLOR5_DIM
> -0x00028DE0 CB_COLOR6_DIM
> -0x00028E1C CB_COLOR7_DIM
> -0x00028E58 CB_COLOR8_DIM
> -0x00028E74 CB_COLOR9_DIM
> -0x00028E90 CB_COLOR10_DIM
> -0x00028EAC CB_COLOR11_DIM
> +0x00028C7C CB_COLOR0_CMASK
> +0x00028C80 CB_COLOR0_CMAKS_SLICE
> +0x00028C84 CB_COLOR0_FMASK
> +0x00028C88 CB_COLOR0_FMASK_SLICE
> 0x00028C8C CB_COLOR0_CLEAR_WORD0
> 0x00028C90 CB_COLOR0_CLEAR_WORD1
> 0x00028C94 CB_COLOR0_CLEAR_WORD2
> 0x00028C98 CB_COLOR0_CLEAR_WORD3
> +0x00028CAC CB_COLOR1_INFO
> +0x00028CB0 CB_COLOR1_ATTRIB
> +0x00028CB4 CB_COLOR1_DIM
> +0x00028CB8 CB_COLOR1_CMASK
> +0x00028CBC CB_COLOR1_CMAKS_SLICE
> +0x00028CC0 CB_COLOR1_FMASK
> +0x00028CC4 CB_COLOR1_FMASK_SLICE
> 0x00028CC8 CB_COLOR1_CLEAR_WORD0
> 0x00028CCC CB_COLOR1_CLEAR_WORD1
> 0x00028CD0 CB_COLOR1_CLEAR_WORD2
> 0x00028CD4 CB_COLOR1_CLEAR_WORD3
> +0x00028CE8 CB_COLOR2_INFO
> +0x00028CEC CB_COLOR2_ATTRIB
> +0x00028CF0 CB_COLOR2_DIM
> +0x00028CF4 CB_COLOR2_CMASK
> +0x00028CF8 CB_COLOR2_CMAKS_SLICE
> +0x00028CFC CB_COLOR2_FMASK
> +0x00028D00 CB_COLOR2_FMASK_SLICE
> 0x00028D04 CB_COLOR2_CLEAR_WORD0
> 0x00028D08 CB_COLOR2_CLEAR_WORD1
> 0x00028D0C CB_COLOR2_CLEAR_WORD2
> 0x00028D10 CB_COLOR2_CLEAR_WORD3
> +0x00028D24 CB_COLOR3_INFO
> +0x00028D28 CB_COLOR3_ATTRIB
> +0x00028D2C CB_COLOR3_DIM
> +0x00028D30 CB_COLOR3_CMASK
> +0x00028D34 CB_COLOR3_CMAKS_SLICE
> +0x00028D38 CB_COLOR3_FMASK
> +0x00028D3C CB_COLOR3_FMASK_SLICE
> 0x00028D40 CB_COLOR3_CLEAR_WORD0
> 0x00028D44 CB_COLOR3_CLEAR_WORD1
> 0x00028D48 CB_COLOR3_CLEAR_WORD2
> 0x00028D4C CB_COLOR3_CLEAR_WORD3
> +0x00028D60 CB_COLOR4_INFO
> +0x00028D64 CB_COLOR4_ATTRIB
> +0x00028D68 CB_COLOR4_DIM
> +0x00028D6C CB_COLOR4_CMASK
> +0x00028D70 CB_COLOR4_CMAKS_SLICE
> +0x00028D74 CB_COLOR4_FMASK
> +0x00028D78 CB_COLOR4_FMASK_SLICE
> 0x00028D7C CB_COLOR4_CLEAR_WORD0
> 0x00028D80 CB_COLOR4_CLEAR_WORD1
> 0x00028D84 CB_COLOR4_CLEAR_WORD2
> 0x00028D88 CB_COLOR4_CLEAR_WORD3
> +0x00028D9C CB_COLOR5_INFO
> +0x00028DA0 CB_COLOR5_ATTRIB
> +0x00028DA4 CB_COLOR5_DIM
> +0x00028DA8 CB_COLOR5_CMASK
> +0x00028DAC CB_COLOR5_CMAKS_SLICE
> +0x00028DB0 CB_COLOR5_FMASK
> +0x00028DB4 CB_COLOR5_FMASK_SLICE
> 0x00028DB8 CB_COLOR5_CLEAR_WORD0
> 0x00028DBC CB_COLOR5_CLEAR_WORD1
> 0x00028DC0 CB_COLOR5_CLEAR_WORD2
> 0x00028DC4 CB_COLOR5_CLEAR_WORD3
> +0x00028DD8 CB_COLOR6_INFO
> +0x00028DDC CB_COLOR6_ATTRIB
> +0x00028DE0 CB_COLOR6_DIM
> +0x00028DE4 CB_COLOR6_CMASK
> +0x00028DE8 CB_COLOR6_CMAKS_SLICE
> +0x00028DEC CB_COLOR6_FMASK
> +0x00028DF0 CB_COLOR6_FMASK_SLICE
> 0x00028DF4 CB_COLOR6_CLEAR_WORD0
> 0x00028DF8 CB_COLOR6_CLEAR_WORD1
> 0x00028DFC CB_COLOR6_CLEAR_WORD2
> 0x00028E00 CB_COLOR6_CLEAR_WORD3
> +0x00028E14 CB_COLOR7_INFO
> +0x00028E18 CB_COLOR7_ATTRIB
> +0x00028E1C CB_COLOR7_DIM
> +0x00028E20 CB_COLOR7_CMASK
> +0x00028E24 CB_COLOR7_CMAKS_SLICE
> +0x00028E28 CB_COLOR7_FMASK
> +0x00028E2C CB_COLOR7_FMASK_SLICE
> 0x00028E30 CB_COLOR7_CLEAR_WORD0
> 0x00028E34 CB_COLOR7_CLEAR_WORD1
> 0x00028E38 CB_COLOR7_CLEAR_WORD2
> 0x00028E3C CB_COLOR7_CLEAR_WORD3
> +0x00028E50 CB_COLOR8_INFO
> +0x00028E54 CB_COLOR8_ATTRIB
> +0x00028E58 CB_COLOR8_DIM
> +0x00028E6C CB_COLOR9_INFO
> +0x00028E70 CB_COLOR9_ATTRIB
> +0x00028E74 CB_COLOR9_DIM
> +0x00028E88 CB_COLOR10_INFO
> +0x00028E8C CB_COLOR10_ATTRIB
> +0x00028E90 CB_COLOR10_DIM
> +0x00028EA4 CB_COLOR11_INFO
> +0x00028EA8 CB_COLOR11_ATTRIB
> +0x00028EAC CB_COLOR11_DIM
> 0x00028F80 SQ_ALU_CONST_BUFFER_SIZE_HS_0
> 0x00028F84 SQ_ALU_CONST_BUFFER_SIZE_HS_1
> 0x00028F88 SQ_ALU_CONST_BUFFER_SIZE_HS_2
> --
> 1.8.4.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list