summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
diff options
context:
space:
mode:
authorSupriya <ssharatkumar@nvidia.com>2015-02-09 06:32:00 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:06:39 -0400
commit3d9a83eb5a59f12412b2f08ba88a32244fd195ca (patch)
tree048433e67db8475ba275e23d8c5257abfcc9e352 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
parent50d5ed2eefd6c74bc8e5625c83763c7c92220dff (diff)
gpu: nvgpu: gk20a: FECS HALT method
FECS halt method is used to do graceful FECS shutdown. Bug 1551865 Change-Id: Iec8590e86cb09f9b54c36f85859208fc8650f6a6 Signed-off-by: Supriya <ssharatkumar@nvidia.com> Reviewed-on: http://git-master/r/682459 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-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.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
index 38ffd524..7bd4ab79 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h
@@ -718,6 +718,10 @@ static inline u32 gr_fecs_method_push_adr_set_watchdog_timeout_f(void)
718{ 718{
719 return 0x21; 719 return 0x21;
720} 720}
721static inline u32 gr_fecs_method_push_adr_halt_pipeline_v(void)
722{
723 return 0x00000004;
724}
721static inline u32 gr_fecs_host_int_status_r(void) 725static inline u32 gr_fecs_host_int_status_r(void)
722{ 726{
723 return 0x00409c18; 727 return 0x00409c18;
@@ -1302,10 +1306,6 @@ static inline u32 gr_ds_zbc_color_r_val_f(u32 v)
1302{ 1306{
1303 return (v & 0xffffffff) << 0; 1307 return (v & 0xffffffff) << 0;
1304} 1308}
1305static inline u32 gr_ds_zbc_color_fmt_val_a8_b8_g8_r8_v(void)
1306{
1307 return 0x00000028;
1308}
1309static inline u32 gr_ds_zbc_color_g_r(void) 1309static inline u32 gr_ds_zbc_color_g_r(void)
1310{ 1310{
1311 return 0x00405808; 1311 return 0x00405808;
@@ -1354,6 +1354,10 @@ static inline u32 gr_ds_zbc_color_fmt_val_rf32_gf32_bf32_af32_v(void)
1354{ 1354{
1355 return 0x00000004; 1355 return 0x00000004;
1356} 1356}
1357static inline u32 gr_ds_zbc_color_fmt_val_a8_b8_g8_r8_v(void)
1358{
1359 return 0x00000028;
1360}
1357static inline u32 gr_ds_zbc_z_r(void) 1361static inline u32 gr_ds_zbc_z_r(void)
1358{ 1362{
1359 return 0x00405818; 1363 return 0x00405818;