mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Implement common allocator and mem_desc
Introduce mem_desc, which holds all information needed for a buffer. Implement helper functions for allocation and freeing that use this data type. Change-Id: I82c88595d058d4fb8c5c5fbf19d13269e48e422f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/712699
This commit is contained in:
committed by
Dan Willemsen
parent
bb51cf9ec6
commit
7290a6cbd5
@@ -104,7 +104,7 @@ static void gk20a_debug_show_channel(struct gk20a *g,
|
||||
u32 syncpointa, syncpointb;
|
||||
void *inst_ptr;
|
||||
|
||||
inst_ptr = ch->inst_block.cpuva;
|
||||
inst_ptr = ch->inst_block.cpu_va;
|
||||
if (!inst_ptr)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user