mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gm20b: Enable CTA preemption
CTA preemption needs to be enabled by setting a value in context. Set it for gm20b. Bug 200063473 Bug 1517461 Change-Id: I080cd71b348d08f834fd23ebbe7443dba79224db Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/661299
This commit is contained in:
committed by
Dan Willemsen
parent
4ccb162da7
commit
5df3d09e16
@@ -150,11 +150,15 @@ struct gr_ctx_desc {
|
||||
u64 iova;
|
||||
size_t size;
|
||||
u64 gpu_va;
|
||||
int preempt_mode;
|
||||
#ifdef CONFIG_ARCH_TEGRA_18x_SOC
|
||||
struct gr_ctx_desc_t18x t18x;
|
||||
#endif
|
||||
};
|
||||
|
||||
#define NVGPU_GR_PREEMPTION_MODE_WFI 0
|
||||
#define NVGPU_GR_PREEMPTION_MODE_CTA 2
|
||||
|
||||
struct compbit_store_desc {
|
||||
struct page **pages;
|
||||
struct sg_table *sgt;
|
||||
|
||||
Reference in New Issue
Block a user