mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: Per-chip context creation
Add HAL for context creation, and expose functions that T18x context creation needs. Bug 1517461 Bug 1521790 Bug 200063473 Change-Id: I63d1c52594e851570b677184a4585d402125a86d Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/660237
This commit is contained in:
committed by
Dan Willemsen
parent
5477d0f4c2
commit
0d9bb7f82e
@@ -141,11 +141,18 @@ struct gr_ctx_buffer_desc {
|
||||
void *priv;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ARCH_TEGRA_18x_SOC
|
||||
#include "gr_t18x.h"
|
||||
#endif
|
||||
|
||||
struct gr_ctx_desc {
|
||||
struct page **pages;
|
||||
u64 iova;
|
||||
size_t size;
|
||||
u64 gpu_va;
|
||||
#ifdef CONFIG_ARCH_TEGRA_18x_SOC
|
||||
struct gr_ctx_desc_t18x t18x;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct compbit_store_desc {
|
||||
|
||||
Reference in New Issue
Block a user