aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/debug_hw_1x01.c
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2017-09-28 12:50:42 +0000
committerThierry Reding <[email protected]>2017-10-20 12:19:52 +0000
commit2a79c034b579beb90b34c6942ff7d54ece5d3ea0 (patch)
tree83be3261c435d2f27eefd2ff94771552012e2590 /drivers/gpu/host1x/hw/debug_hw_1x01.c
parentgpu: host1x: Improve debug disassembly formatting (diff)
downloadkernel-2a79c034b579beb90b34c6942ff7d54ece5d3ea0.tar.gz
kernel-2a79c034b579beb90b34c6942ff7d54ece5d3ea0.zip
gpu: host1x: Disassemble more instructions
The disassembler for debug dumps was missing some newer host1x opcodes. Add disassembly support for these. Signed-off-by: Mikko Perttunen <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/host1x/hw/debug_hw_1x01.c')
-rw-r--r--drivers/gpu/host1x/hw/debug_hw_1x01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/hw/debug_hw_1x01.c b/drivers/gpu/host1x/hw/debug_hw_1x01.c
index 09e1aa7bb5dd..8790d5fd5f20 100644
--- a/drivers/gpu/host1x/hw/debug_hw_1x01.c
+++ b/drivers/gpu/host1x/hw/debug_hw_1x01.c
@@ -112,7 +112,7 @@ static void host1x_debug_show_channel_fifo(struct host1x *host,
if (!data_count) {
host1x_debug_output(o, "%08x: ", val);
- data_count = show_channel_command(o, val);
+ data_count = show_channel_command(o, val, NULL);
} else {
host1x_debug_cont(o, "%08x%s", val,
data_count > 1 ? ", " : "])\n");