summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
index 1de9e794..38ffd524 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.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,
@@ -1302,6 +1302,10 @@ static inline u32 gr_ds_zbc_color_r_val_f(u32 v)
1302{ 1302{
1303 return (v & 0xffffffff) << 0; 1303 return (v & 0xffffffff) << 0;
1304} 1304}
1305static inline u32 gr_ds_zbc_color_fmt_val_a8_b8_g8_r8_v(void)
1306{
1307 return 0x00000028;
1308}
1305static inline u32 gr_ds_zbc_color_g_r(void) 1309static inline u32 gr_ds_zbc_color_g_r(void)
1306{ 1310{
1307 return 0x00405808; 1311 return 0x00405808;
@@ -1350,10 +1354,6 @@ static inline u32 gr_ds_zbc_color_fmt_val_rf32_gf32_bf32_af32_v(void)
1350{ 1354{
1351 return 0x00000004; 1355 return 0x00000004;
1352} 1356}
1353static inline u32 gr_ds_zbc_color_fmt_val_a8_b8_g8_r8_v(void)
1354{
1355 return 0x00000028;
1356}
1357static inline u32 gr_ds_zbc_z_r(void) 1357static inline u32 gr_ds_zbc_z_r(void)
1358{ 1358{
1359 return 0x00405818; 1359 return 0x00405818;