diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index fb8b8b14..c606e027 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1408,6 +1408,8 @@ static int gk20a_probe(struct platform_device *dev) | |||
1408 | 1408 | ||
1409 | spin_lock_init(&gk20a->mc_enable_lock); | 1409 | spin_lock_init(&gk20a->mc_enable_lock); |
1410 | 1410 | ||
1411 | gk20a_debug_init(dev); | ||
1412 | |||
1411 | /* Initialize the platform interface. */ | 1413 | /* Initialize the platform interface. */ |
1412 | err = platform->probe(dev); | 1414 | err = platform->probe(dev); |
1413 | if (err) { | 1415 | if (err) { |
@@ -1440,8 +1442,6 @@ static int gk20a_probe(struct platform_device *dev) | |||
1440 | dev_err(&dev->dev, | 1442 | dev_err(&dev->dev, |
1441 | "failed to allocate secure buffer %d\n", err); | 1443 | "failed to allocate secure buffer %d\n", err); |
1442 | 1444 | ||
1443 | gk20a_debug_init(dev); | ||
1444 | |||
1445 | /* Set DMA parameters to allow larger sgt lists */ | 1445 | /* Set DMA parameters to allow larger sgt lists */ |
1446 | dev->dev.dma_parms = &gk20a->dma_parms; | 1446 | dev->dev.dma_parms = &gk20a->dma_parms; |
1447 | dma_set_max_seg_size(&dev->dev, UINT_MAX); | 1447 | dma_set_max_seg_size(&dev->dev, UINT_MAX); |