diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-03-28 17:56:11 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-03 20:05:19 -0400 |
commit | e7cc24eb9b78e1cdd0f321123e64261c95018e73 (patch) | |
tree | 4de1be975c745257afe152cfaac8dceeece61018 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | b49ee3fe2b07ac9f75d0fa4d496b8eceddaad9ce (diff) |
gpu: nvgpu: Correct sign qualifiers for LTC code
In constants we use in LTC code we miss the qualifier indicating
if the constant is signed or unsigned. Add qualifiers for LTC code
and the ZBC related constant used in LTC code.
Change-Id: Id80078722f8a4f50eb53370146437bebb72a3ffc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1683859
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 54833028..a80116b7 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -174,7 +174,7 @@ struct gr_zcull_info { | |||
174 | 174 | ||
175 | #define GK20A_ZBC_COLOR_VALUE_SIZE 4 /* RGBA */ | 175 | #define GK20A_ZBC_COLOR_VALUE_SIZE 4 /* RGBA */ |
176 | 176 | ||
177 | #define GK20A_STARTOF_ZBC_TABLE 1 /* index zero reserved to indicate "not ZBCd" */ | 177 | #define GK20A_STARTOF_ZBC_TABLE 1U /* index zero reserved to indicate "not ZBCd" */ |
178 | #define GK20A_SIZEOF_ZBC_TABLE 16 /* match ltcs_ltss_dstg_zbc_index_address width (4) */ | 178 | #define GK20A_SIZEOF_ZBC_TABLE 16 /* match ltcs_ltss_dstg_zbc_index_address width (4) */ |
179 | #define GK20A_ZBC_TABLE_SIZE (16 - 1) | 179 | #define GK20A_ZBC_TABLE_SIZE (16 - 1) |
180 | 180 | ||