summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index e2f2d9e9..a69cce0c 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -224,7 +224,7 @@ static inline int gk20a_get_valid_launch_flags(struct gk20a *g, int launch_flags
224{ 224{
225 /* there is no local memory available, 225 /* there is no local memory available,
226 don't allow local memory related CE flags */ 226 don't allow local memory related CE flags */
227 if (!g->mm.vidmem_size) { 227 if (!g->mm.vidmem.size) {
228 launch_flags &= ~(NVGPU_CE_SRC_LOCATION_LOCAL_FB | 228 launch_flags &= ~(NVGPU_CE_SRC_LOCATION_LOCAL_FB |
229 NVGPU_CE_DST_LOCATION_LOCAL_FB); 229 NVGPU_CE_DST_LOCATION_LOCAL_FB);
230 } 230 }