From 914bb78a7dc0687b349310cc28613ea4a4c0be33 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 6 Apr 2017 17:56:08 -0700 Subject: gpu: nvgpu: vgpu: move TEGRA_VGPU_ATTRIB_PREEMPT_CTX_SIZE to constants Also removed deprecated TEGRA_VGPU_ATTRIB_*, but leave a place holder in case someone wants to use this command in future. Jira VFND-3796 Change-Id: Ic36a59db238d276b0e3dd68a9d8ec5834a04333d Signed-off-by: Richard Zhao Reviewed-on: http://git-master/r/1457497 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- include/linux/tegra_vgpu.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'include/linux/tegra_vgpu.h') diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 5d4fa36a..daef7d98 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h @@ -114,32 +114,6 @@ struct tegra_vgpu_channel_hwctx_params { u64 handle; }; -enum { - TEGRA_VGPU_ATTRIB_NUM_CHANNELS = 0, /*deprecated */ - TEGRA_VGPU_ATTRIB_GOLDEN_CTX_SIZE = 1, /* deprecated */ - TEGRA_VGPU_ATTRIB_ZCULL_CTX_SIZE = 2, /* deprecated */ - TEGRA_VGPU_ATTRIB_COMPTAG_LINES = 3, /* deprecated */ - TEGRA_VGPU_ATTRIB_GPC_COUNT = 4, /* deprecated */ - TEGRA_VGPU_ATTRIB_MAX_TPC_PER_GPC_COUNT = 5, /* deprecated */ - TEGRA_VGPU_ATTRIB_MAX_TPC_COUNT = 6, /* deprecated */ - TEGRA_VGPU_ATTRIB_PMC_BOOT_0 = 7, /* deprecated */ - TEGRA_VGPU_ATTRIB_L2_SIZE = 8, /* deprecated */ - TEGRA_VGPU_ATTRIB_GPC0_TPC0_SM_ARCH = 9, /* deprecated */ - TEGRA_VGPU_ATTRIB_NUM_FBPS = 10, /* deprecated */ - TEGRA_VGPU_ATTRIB_FBP_EN_MASK = 11, /* deprecated */ - TEGRA_VGPU_ATTRIB_MAX_LTC_PER_FBP = 12, /* deprecated */ - TEGRA_VGPU_ATTRIB_MAX_LTS_PER_LTC = 13, /* deprecated */ - TEGRA_VGPU_ATTRIB_GPC0_TPC_MASK = 14, /* deprecated */ - TEGRA_VGPU_ATTRIB_CACHELINE_SIZE = 15, /* deprecated */ - TEGRA_VGPU_ATTRIB_COMPTAGS_PER_CACHELINE = 16, /* deprecated */ - TEGRA_VGPU_ATTRIB_SLICES_PER_LTC = 17, /* deprecated */ - TEGRA_VGPU_ATTRIB_LTC_COUNT = 18, /* deprecated */ - TEGRA_VGPU_ATTRIB_TPC_COUNT = 19, /* deprecated */ - TEGRA_VGPU_ATTRIB_GPC0_TPC_COUNT = 20, /* deprecated */ - TEGRA_VGPU_ATTRIB_MAX_FREQ = 21, /* deprecated */ - TEGRA_VGPU_ATTRIB_PREEMPT_CTX_SIZE = 64, /* gap to hide T18x IP */ -}; - struct tegra_vgpu_attrib_params { u32 attrib; u32 value; @@ -458,6 +432,7 @@ struct tegra_vgpu_constants_params { u32 hwpm_ctx_size; u8 force_preempt_mode; u32 default_timeslice_us; + u32 preempt_ctx_size; }; struct tegra_vgpu_channel_cyclestats_snapshot_params { -- cgit v1.2.2