mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
Revert "gpu: nvgpu: Reorg mm HAL initialization"
Conflicts with gv100 changes
This reverts commit 8d63cd3995.
Change-Id: Ie2f88d281b2b87a9a794d79164a61c4d883626b7
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1537668
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
This commit is contained in:
@@ -734,17 +734,16 @@ struct gpu_ops {
|
||||
void (*init_inst_block)(struct nvgpu_mem *inst_block,
|
||||
struct vm_gk20a *vm, u32 big_page_size);
|
||||
bool (*mmu_fault_pending)(struct gk20a *g);
|
||||
/* This function is called to allocate secure memory (memory
|
||||
* that the CPU cannot see). The function should fill the
|
||||
* context buffer descriptor (especially fields destroy, sgt,
|
||||
* size).
|
||||
*/
|
||||
int (*secure_alloc)(struct gk20a *g,
|
||||
struct gr_ctx_buffer_desc *desc,
|
||||
size_t size);
|
||||
void (*fault_info_mem_destroy)(struct gk20a *g);
|
||||
} mm;
|
||||
/*
|
||||
* This function is called to allocate secure memory (memory
|
||||
* that the CPU cannot see). The function should fill the
|
||||
* context buffer descriptor (especially fields destroy, sgt,
|
||||
* size).
|
||||
*/
|
||||
int (*secure_alloc)(struct gk20a *g,
|
||||
struct gr_ctx_buffer_desc *desc,
|
||||
size_t size);
|
||||
struct {
|
||||
u32 (*enter)(struct gk20a *g, struct nvgpu_mem *mem,
|
||||
struct page_alloc_chunk *chunk, u32 w);
|
||||
|
||||
Reference in New Issue
Block a user