diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index fe5445d9..d31c92ca 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GV11B GPU GR | 2 | * GV11B GPU GR |
3 | * | 3 | * |
4 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -16,6 +16,16 @@ | |||
16 | #ifndef _NVGPU_GR_GV11B_H_ | 16 | #ifndef _NVGPU_GR_GV11B_H_ |
17 | #define _NVGPU_GR_GV11B_H_ | 17 | #define _NVGPU_GR_GV11B_H_ |
18 | 18 | ||
19 | #define GV11B_ZBC_TYPE_STENCIL T19X_ZBC | ||
20 | #define ZBC_STENCIL_CLEAR_FMT_INVAILD 0 | ||
21 | #define ZBC_STENCIL_CLEAR_FMT_U8 1 | ||
22 | |||
23 | struct zbc_s_table { | ||
24 | u32 stencil; | ||
25 | u32 format; | ||
26 | u32 ref_cnt; | ||
27 | }; | ||
28 | |||
19 | struct gpu_ops; | 29 | struct gpu_ops; |
20 | 30 | ||
21 | enum { | 31 | enum { |