summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-11 17:33:22 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-13 11:55:55 -0400
commitea24da728faf381a0204c424ee055a0572774e76 (patch)
treeef7c17d99f4c9e6c4e3c69853ee9d7a19b3d2480 /drivers/gpu/nvgpu/gp10b/regops_gp10b.c
parentd2e36374b8ffeb2ff63c4d1eea75c0479872a710 (diff)
gpu: nvgpu: Add wrapper nvgpu/bsearch.h
Add wrapper header file nvgpu/bsearch.h. It #includes <linux/bsearch.h> on Linux. JIRA NVGPU-13 Change-Id: I5893f91f2e1bcda99c68f94d9298d87ad4591c8f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1461543 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/regops_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/regops_gp10b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
index b880fda1..33e331a4 100644
--- a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
@@ -17,7 +17,6 @@
17 */ 17 */
18 18
19#include <linux/err.h> 19#include <linux/err.h>
20#include <linux/bsearch.h>
21#include <uapi/linux/nvgpu.h> 20#include <uapi/linux/nvgpu.h>
22 21
23#include "gk20a/gk20a.h" 22#include "gk20a/gk20a.h"
@@ -25,6 +24,8 @@
25#include "gk20a/regops_gk20a.h" 24#include "gk20a/regops_gk20a.h"
26#include "regops_gp10b.h" 25#include "regops_gp10b.h"
27 26
27#include <nvgpu/bsearch.h>
28
28static const struct regop_offset_range gp10b_global_whitelist_ranges[] = { 29static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
29 { 0x000004f0, 1}, 30 { 0x000004f0, 1},
30 { 0x00001a00, 3}, 31 { 0x00001a00, 3},