OSDN Git Service

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)
commiteb2ee1a28db17155bcee4630e36ea1759b7e10dc
tree63942452c69d2a896ca682cfe623ff9c963523b0
parent2316f29fb57932e34a56998073246b8ec4c567f9
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