diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/vidmem.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/vidmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/vidmem.c b/drivers/gpu/nvgpu/common/mm/vidmem.c index a55b3a2b..4239bd06 100644 --- a/drivers/gpu/nvgpu/common/mm/vidmem.c +++ b/drivers/gpu/nvgpu/common/mm/vidmem.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -413,7 +413,7 @@ int nvgpu_vidmem_clear(struct gk20a *g, struct nvgpu_mem *mem) | |||
413 | struct gk20a_fence *gk20a_fence_out = NULL; | 413 | struct gk20a_fence *gk20a_fence_out = NULL; |
414 | struct gk20a_fence *gk20a_last_fence = NULL; | 414 | struct gk20a_fence *gk20a_last_fence = NULL; |
415 | struct nvgpu_page_alloc *alloc = NULL; | 415 | struct nvgpu_page_alloc *alloc = NULL; |
416 | void *sgl = NULL; | 416 | struct nvgpu_sgl *sgl = NULL; |
417 | int err = 0; | 417 | int err = 0; |
418 | 418 | ||
419 | if (g->mm.vidmem.ce_ctx_id == (u32)~0) | 419 | if (g->mm.vidmem.ce_ctx_id == (u32)~0) |