]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Improve debug disassembly formatting
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 28 Sep 2017 12:50:41 +0000 (15:50 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:52 +0000 (14:19 +0200)
commit315f309e21a793bbd84aa3fd81af69a6e16cd08e
tree63942452c69d2a896ca682cfe623ff9c963523b0
parent6d06aacaa79a70f3b8b2e8ab10dfabd8e60e72f0
gpu: host1x: Improve debug disassembly formatting

The host1x driver prints out "disassembly" dumps of the command FIFO
and gather contents on submission timeouts. However, the output has
been quite difficult to read with unnecessary newlines and occasional
missing parentheses.

Fix these problems by using pr_cont to remove unnecessary newlines
and by fixing other small issues.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/debug.c
drivers/gpu/host1x/debug.h
drivers/gpu/host1x/hw/debug_hw.c
drivers/gpu/host1x/hw/debug_hw_1x01.c
drivers/gpu/host1x/hw/debug_hw_1x06.c