From 2155dfeaba1714bb00cb86af090aa056aec3acfd Mon Sep 17 00:00:00 2001 From: sujeet baranwal Date: Fri, 6 Mar 2015 11:55:36 -0800 Subject: gpu: nvgpu: Gpu characterstics enhancement New members are added in nvgpu_gpu_characterstics to export more information required specially from CUDA tools. Change-Id: I907f3bcbd272405a13f47ef6236bc2cff01c6c80 Signed-off-by: Sujeet Baranwal Reviewed-on: http://git-master/r/679202 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h index f3ca7498..35d9d347 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -138,4 +138,28 @@ static inline u32 top_device_info_entry_enum_v(void) { return 0x00000002; } +static inline u32 top_fs_status_fbp_r(void) +{ + return 0x00022548; +} +static inline u32 top_fs_status_fbp_cluster_v(u32 r) +{ + return (r >> 0) & 0xffff; +} +static inline u32 top_fs_status_fbp_cluster_enable_v(void) +{ + return 0x00000000; +} +static inline u32 top_fs_status_fbp_cluster_enable_f(void) +{ + return 0x0; +} +static inline u32 top_fs_status_fbp_cluster_disable_v(void) +{ + return 0x00000001; +} +static inline u32 top_fs_status_fbp_cluster_disable_f(void) +{ + return 0x1; +} #endif -- cgit v1.2.2