summaryrefslogblamecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_mm.c
blob: 1e260f898fc2ac59c71549d0e906399546c60dce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  
                                                               











                                                                       

                                 
 


                                           
 



                                                                    
 
/*
 * Copyright (C) 2017 NVIDIA Corporation.  All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#include "debug_mm.h"
#include "gk20a/platform_gk20a.h"

#include <linux/debugfs.h>

void gk20a_mm_debugfs_init(struct gk20a *g)
{
	struct gk20a_platform *platform = dev_get_drvdata(g->dev);

	debugfs_create_bool("force_pramin", 0664, platform->debugfs,
			   &g->mm.force_pramin);
}