mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: split vidmem_is_vidmem
Use the new honors_aperture and unified_memory flags instead of vidmem_is_vidmem. Jira NVGPU-86 Change-Id: I5df8b119d30b255fa8d841cec747a187ce3fa588 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1496081 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8d63a519d9
commit
fa0cf69d0f
@@ -88,9 +88,6 @@ static int gv11b_tegra_probe(struct device *dev)
|
||||
platform->g->gr.t18x.ctx_vars.force_preemption_gfxp = false;
|
||||
platform->g->gr.t18x.ctx_vars.force_preemption_cilp = false;
|
||||
|
||||
/* soc memory accessed as system memory aperture */
|
||||
platform->g->mm.vidmem_is_vidmem = platform->vidmem_is_vidmem;
|
||||
|
||||
gp10b_tegra_get_clocks(dev);
|
||||
nvgpu_linux_init_clk_support(platform->g);
|
||||
|
||||
@@ -155,7 +152,8 @@ struct gk20a_platform t19x_gpu_tegra_platform = {
|
||||
|
||||
.soc_name = "tegra19x",
|
||||
|
||||
.vidmem_is_vidmem = true,
|
||||
.honors_aperture = true,
|
||||
.unified_memory = true,
|
||||
|
||||
.reset_assert = gp10b_tegra_reset_assert,
|
||||
.reset_deassert = gp10b_tegra_reset_deassert,
|
||||
|
||||
Reference in New Issue
Block a user