summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
index 0bd707db..49078f11 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -1294,6 +1294,10 @@ static inline u32 gr_ds_zbc_color_fmt_val_rf32_gf32_bf32_af32_v(void)
1294{ 1294{
1295 return 0x00000004; 1295 return 0x00000004;
1296} 1296}
1297static inline u32 gr_ds_zbc_color_fmt_val_a8_b8_g8_r8_v(void)
1298{
1299 return 0x00000028;
1300}
1297static inline u32 gr_ds_zbc_z_r(void) 1301static inline u32 gr_ds_zbc_z_r(void)
1298{ 1302{
1299 return 0x00405818; 1303 return 0x00405818;