mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: add fifo_t19x and channel_base
- add fifo_t19x to fifo_gk20a - add channel_base to fifo_gk20a It'll make kick off code re-usable by vgpu. Jira VFND-3796 Change-Id: I7f7607d3682f2eaad903e1690d83c1d78eba8052 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master/r/1510456 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7d584bf868
commit
0a77330ac7
@@ -24,6 +24,10 @@
|
||||
#include "channel_gk20a.h"
|
||||
#include "tsg_gk20a.h"
|
||||
|
||||
#ifdef CONFIG_TEGRA_19x_GPU
|
||||
#include "fifo_t19x.h"
|
||||
#endif
|
||||
|
||||
#include <nvgpu/kref.h>
|
||||
|
||||
struct gk20a_debug_output;
|
||||
@@ -194,6 +198,11 @@ struct fifo_gk20a {
|
||||
unsigned long deferred_fault_engines;
|
||||
bool deferred_reset_pending;
|
||||
struct nvgpu_mutex deferred_reset_mutex;
|
||||
|
||||
#ifdef CONFIG_TEGRA_19x_GPU
|
||||
struct fifo_t19x t19x;
|
||||
#endif
|
||||
u32 channel_base;
|
||||
};
|
||||
|
||||
static inline const char *gk20a_fifo_interleave_level_name(u32 interleave_level)
|
||||
|
||||
Reference in New Issue
Block a user