diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-06-20 15:52:23 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-21 17:09:31 -0400 |
commit | 476b84ea86afadde58907ee1a04769c3312e744e (patch) | |
tree | bf9393c157df73de6dd33a021cc3ed05067a08c8 /drivers | |
parent | f78d8c116c06768cf28b0bf0b61589c3ef07ecfb (diff) |
gpu: nvgpu: Enable debug printing on boot
Enable the log.h debug printing to print log messages on
boot based on the NVGPU_DEFAULT_DBG_MASK define. Previously
this only affected the legacy gk20a_dbg() function which
is being slowly phased out.
Change-Id: I74caed3bcdeec5481fb34e3151cfbc1acaabf233
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1505922
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c index ec18df15..af137c19 100644 --- a/drivers/gpu/nvgpu/common/linux/module.c +++ b/drivers/gpu/nvgpu/common/linux/module.c | |||
@@ -882,6 +882,7 @@ static int gk20a_probe(struct platform_device *dev) | |||
882 | 882 | ||
883 | set_gk20a(dev, gk20a); | 883 | set_gk20a(dev, gk20a); |
884 | gk20a->dev = &dev->dev; | 884 | gk20a->dev = &dev->dev; |
885 | gk20a->log_mask = NVGPU_DEFAULT_DBG_MASK; | ||
885 | 886 | ||
886 | nvgpu_kmem_init(gk20a); | 887 | nvgpu_kmem_init(gk20a); |
887 | 888 | ||