summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
diff options
context:
space:
mode:
authorSam Payne <spayne@nvidia.com>2015-01-12 17:24:55 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:02:35 -0400
commitedaf6188d54683bd955f1dc6673b3bb3ba18367e (patch)
tree68e95507fb3fed06da3d8a381d113a822d329ed6 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
parent3764ce3de36d9b01948a78ec1ecf4ac4371b8e4d (diff)
gpu: nvgpu: enable ce2 interrupts
enables non-blocking interrupts in ce2 all other ce2 interrupts are cleared and not handled. bug 200036089 Change-Id: I9f47b06c677c72ac523019e6a3f70fedd07830a2 Signed-off-by: Sam Payne <spayne@nvidia.com> Reviewed-on: http://git-master/r/671783 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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;