gpu: host1x: debug: Dump push buffer state
authorDmitry Osipenko <digetx@gmail.com>
Mon, 29 Jun 2020 03:18:42 +0000 (06:18 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 17 Jul 2020 14:06:14 +0000 (16:06 +0200)
commit7c6b8cac8c19240f013a62f133e2dc8cfeb7a206
tree845cf71da58c105d0b6059ebe3fb819a3b45669f
parent35681862808472a0a4b9a8817ae2789c0b5b3edc
gpu: host1x: debug: Dump push buffer state

When job hangs and there is a memory error pointing at channel's push
buffer, it is very handy to know the push buffer's state. This patch
makes the push buffer's state to be dumped into KMSG in addition to the
job's gathers.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/debug_hw.c