mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: unit: fifo: fifo unit test
This unit test covers most of the nvgpu.common.fifo.fifo module lines and almost all branches. Jira NVGPU-3697 Change-Id: I5722277a3e1630a902f63b707eb3de1c4e1876b0 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2237796 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
917fb2e2df
commit
0ca906a6ad
@@ -23,7 +23,7 @@
|
||||
OBJS = nvgpu-engine.o
|
||||
MODULE = nvgpu-engine
|
||||
|
||||
LIB_PATHS += -lnvgpu-fifo
|
||||
LIB_PATHS += -lnvgpu-fifo-common
|
||||
include ../../Makefile.units
|
||||
|
||||
lib$(MODULE).so: fifo
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
OBJS = nvgpu-engine-gm20b.o
|
||||
MODULE = nvgpu-engine-gm20b
|
||||
|
||||
LIB_PATHS += -lnvgpu-fifo
|
||||
LIB_PATHS += -lnvgpu-fifo-common
|
||||
include ../../../Makefile.units
|
||||
|
||||
lib$(MODULE).so: fifo
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <nvgpu/hw/gm20b/hw_fifo_gm20b.h>
|
||||
#include <nvgpu/hw/gm20b/hw_top_gm20b.h>
|
||||
|
||||
#include "../../nvgpu-fifo.h"
|
||||
#include "../../nvgpu-fifo-common.h"
|
||||
#include "nvgpu-engine-gm20b.h"
|
||||
|
||||
#ifdef ENGINE_GM20B_UNIT_DEBUG
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
OBJS = nvgpu-engine-gp10b.o
|
||||
MODULE = nvgpu-engine-gp10b
|
||||
|
||||
LIB_PATHS += -lnvgpu-fifo
|
||||
LIB_PATHS += -lnvgpu-fifo-common
|
||||
include ../../../Makefile.units
|
||||
|
||||
lib$(MODULE).so: fifo
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <nvgpu/hw/gp10b/hw_fifo_gp10b.h>
|
||||
#include <nvgpu/hw/gp10b/hw_top_gp10b.h>
|
||||
|
||||
#include "../../nvgpu-fifo.h"
|
||||
#include "../../nvgpu-fifo-common.h"
|
||||
#include "nvgpu-engine-gp10b.h"
|
||||
|
||||
#ifdef ENGINE_GP10B_UNIT_DEBUG
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
OBJS = nvgpu-engine-gv100.o
|
||||
MODULE = nvgpu-engine-gv100
|
||||
|
||||
LIB_PATHS += -lnvgpu-fifo
|
||||
LIB_PATHS += -lnvgpu-fifo-common
|
||||
include ../../../Makefile.units
|
||||
|
||||
lib$(MODULE).so: fifo
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <nvgpu/hw/gv100/hw_fifo_gv100.h>
|
||||
|
||||
#include "../../nvgpu-fifo.h"
|
||||
#include "../../nvgpu-fifo-common.h"
|
||||
#include "nvgpu-engine-gv100.h"
|
||||
|
||||
//#define ENGINE_GV100_UNIT_DEBUG
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
OBJS = nvgpu-engine-gv11b.o
|
||||
MODULE = nvgpu-engine-gv11b
|
||||
|
||||
LIB_PATHS += -lnvgpu-fifo
|
||||
LIB_PATHS += -lnvgpu-fifo-common
|
||||
include ../../../Makefile.units
|
||||
|
||||
lib$(MODULE).so: fifo
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <nvgpu/hw/gv11b/hw_fifo_gv11b.h>
|
||||
#include <nvgpu/hw/gv11b/hw_gmmu_gv11b.h>
|
||||
|
||||
#include "../../nvgpu-fifo.h"
|
||||
#include "../../nvgpu-fifo-common.h"
|
||||
#include "nvgpu-engine-gv11b.h"
|
||||
|
||||
#ifdef ENGINE_GV11B_UNIT_DEBUG
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "nvgpu/hw/gv11b/hw_top_gv11b.h"
|
||||
|
||||
#include "../nvgpu-fifo.h"
|
||||
#include "../nvgpu-fifo-common.h"
|
||||
#include "../nvgpu-fifo-gv11b.h"
|
||||
#include "nvgpu-engine.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user