summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-11-28 01:30:00 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-10 23:16:10 -0500
commit318524ee2f8bc117db25608d432bcc60d92d8c08 (patch)
tree0ce59bbba3079b1cfc007759cc877699a8eb37e5 /drivers/gpu/nvgpu
parent7552780739e3bf55402c5a845f230975fc4f3d27 (diff)
gpu: nvgpu: set PMU "queue full" as debug message
Queue full message is not an error, it informs queue is full & wait till it gets space in queue to upload pending request. Bug 200256603 Change-Id: I14f4196b391cd54e1b9616f0555a5ce0856af428 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1260494 (cherry picked from commit e7360fb52b2030c9c68aa5ed06ecd7c32b47a8c5) Reviewed-on: http://git-master/r/1271619 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index f9072cec..01b9dddf 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -2852,7 +2852,8 @@ static int pmu_queue_open_write(struct pmu_gk20a *pmu,
2852 BUG(); 2852 BUG();
2853 2853
2854 if (!pmu_queue_has_room(pmu, queue, size, &rewind)) { 2854 if (!pmu_queue_has_room(pmu, queue, size, &rewind)) {
2855 gk20a_err(dev_from_gk20a(gk20a_from_pmu(pmu)), "queue full"); 2855 gk20a_dbg_pmu("queue full: queue-id %d: index %d",
2856 queue->id, queue->index);
2856 pmu_queue_unlock(pmu, queue); 2857 pmu_queue_unlock(pmu, queue);
2857 return -EAGAIN; 2858 return -EAGAIN;
2858 } 2859 }