summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2015-04-22 10:39:58 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 02:01:41 -0400
commit024c14c3f55ad87fec6517f0a3ef1e61073c75fd (patch)
tree289725cad6783f04cbec133be8ac1e645694be7a /drivers
parent7072bdc513971528db862f9ab983263b0b48b493 (diff)
gpu: nvgpu: dbg level for per-write ctx patch msg
The message "per-write ctx patch begin?" is a legacy message for warning about probably inefficient code, but it's written at error loglevel. Silence it out a bit by using gk20a_dbg_info(). The inefficient paths can be fixed later. Bug 200075565 Change-Id: Idae821aef3001ea5016de22a1a87fec747c42d31 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/734248
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 4a98514b..b709a980 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -644,8 +644,7 @@ int gr_gk20a_ctx_patch_write(struct gk20a *g,
644 * but be defensive still... */ 644 * but be defensive still... */
645 if (!ch_ctx->patch_ctx.mem.cpu_va) { 645 if (!ch_ctx->patch_ctx.mem.cpu_va) {
646 int err; 646 int err;
647 gk20a_err(dev_from_gk20a(g), 647 gk20a_dbg_info("per-write ctx patch begin?");
648 "per-write ctx patch begin?");
649 /* yes, gr_gk20a_ctx_patch_smpc causes this one */ 648 /* yes, gr_gk20a_ctx_patch_smpc causes this one */
650 err = gr_gk20a_ctx_patch_write_begin(g, ch_ctx); 649 err = gr_gk20a_ctx_patch_write_begin(g, ch_ctx);
651 if (err) 650 if (err)