Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a/hal_gk20a.h
Terje Bergstrom 2c23d1066f gpu: nvgpu: Add class numbers to characteristics
Some kernel APIs rely on user space knowing class numbers. Allow
querying the numbers from kernel.

Bug 1567274

Change-Id: Idec2fe8ee983ee74bcbf9dfc98f71bbcc1492cfb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/594402
2015-03-18 12:12:06 -07:00

28 lines
787 B
C

/*
* drivers/video/tegra/host/gk20a/hal_gk20a.h
*
* GK20A Hardware Abstraction Layer functions definitions.
*
* Copyright (c) 2014, 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,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope 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.
*/
#ifndef __HAL_GK20A__
#define __HAL_GK20A__
#include <linux/kernel.h>
struct gk20a;
int gk20a_init_hal(struct gk20a *g);
#endif /* __HAL_GK20A__ */