mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: move fuse definitions to fuse.h
Move common fuse definition macros to fuse.h. This will allow all chip specific fuse files to use the common macros. Jira NVGPU-6081 Change-Id: I85b5250809eef26a40f5b4b9bf6908dfa0d2be1f Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2422892 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
3aec79d242
commit
78fb67bb0b
@@ -25,11 +25,6 @@
|
||||
#ifndef NVGPU_FUSE_GM20B_H
|
||||
#define NVGPU_FUSE_GM20B_H
|
||||
|
||||
#define GCPLEX_CONFIG_VPR_AUTO_FETCH_DISABLE_MASK BIT32(0)
|
||||
#define GCPLEX_CONFIG_VPR_ENABLED_MASK BIT32(1)
|
||||
#define GCPLEX_CONFIG_WPR_ENABLED_MASK BIT32(2)
|
||||
|
||||
|
||||
struct gk20a;
|
||||
|
||||
#if defined(CONFIG_NVGPU_HAL_NON_FUSA) || defined(CONFIG_NVGPU_DGPU)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <nvgpu/io.h>
|
||||
#include <nvgpu/gk20a.h>
|
||||
|
||||
#include "fuse_gm20b.h"
|
||||
#include "fuse_gp10b.h"
|
||||
|
||||
#include <nvgpu/hw/gp10b/hw_fuse_gp10b.h>
|
||||
|
||||
@@ -36,6 +36,10 @@ struct gk20a;
|
||||
#include "include/nvgpu/nvgpu_next_fuse.h"
|
||||
#endif
|
||||
|
||||
#define GCPLEX_CONFIG_VPR_AUTO_FETCH_DISABLE_MASK BIT32(0)
|
||||
#define GCPLEX_CONFIG_VPR_ENABLED_MASK BIT32(1)
|
||||
#define GCPLEX_CONFIG_WPR_ENABLED_MASK BIT32(2)
|
||||
|
||||
#ifdef CONFIG_NVGPU_NON_FUSA
|
||||
int nvgpu_tegra_get_gpu_speedo_id(struct gk20a *g, int *id);
|
||||
int nvgpu_tegra_fuse_read_reserved_calib(struct gk20a *g, u32 *val);
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#include <nvgpu/posix/io.h>
|
||||
#include <nvgpu/posix/soc_fuse.h>
|
||||
|
||||
#include "hal/fuse/fuse_gm20b.h"
|
||||
|
||||
#ifdef CONFIG_NVGPU_NON_FUSA
|
||||
int nvgpu_tegra_get_gpu_speedo_id(struct gk20a *g, int *id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user