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:
Terje Bergstrom
2014-12-03 16:13:39 +02:00
committed by Dan Willemsen
parent 5477d0f4c2
commit 0d9bb7f82e
5 changed files with 83 additions and 39 deletions

View File

@@ -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 {