From: Dave Airlie Date: Mon, 30 Nov 2015 04:41:27 +0000 (+1000) Subject: r600: fix masks for two of the unused evergreen regs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd71f3e4feecd9fa7be124ff1fe4c4ed60d9d4fb;p=mesa.git r600: fix masks for two of the unused evergreen regs. Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h index 3f60e3e9de3..ebe8c4a65ba 100644 --- a/src/gallium/drivers/r600/evergreend.h +++ b/src/gallium/drivers/r600/evergreend.h @@ -2146,14 +2146,14 @@ #define C_028B5C_SIZE 0xFFFFFF00 #define S_028B5C_PATCH_CP_SIZE(x) (((x) & 0x1FFF) << 8) #define G_028B5C_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) -#define C_028B5C_PATCH_CP_SIZE 0xFFFE00FF +#define C_028B5C_PATCH_CP_SIZE 0xFFE000FF #define R_028B60_VGT_HS_SIZE 0x00028B60 #define S_028B60_SIZE(x) (((x) & 0xFF) << 0) #define G_028B60_SIZE(x) (((x) >> 0) & 0xFF) #define C_028B60_SIZE 0xFFFFFF00 #define S_028B60_PATCH_CP_SIZE(x) (((x) & 0x1FFF) << 8) #define G_028B60_PATCH_CP_SIZE(x) (((x) >> 8) & 0x1FFF) -#define C_028B60_PATCH_CP_SIZE 0xFFFE00FF +#define C_028B60_PATCH_CP_SIZE 0xFFE000FF #define R_028B64_VGT_LS_HS_ALLOC 0x00028B64 #define S_028B64_HS_TOTAL_OUTPUT(x) (((x) & 0x1FFF) << 0) #define G_028B64_HS_TOTAL_OUTPUT(x) (((x) >> 0) & 0x1FFF)