gpu: host1x: Add debug support
authorTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 22 Mar 2013 14:34:04 +0000 (16:34 +0200)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 22 Apr 2013 10:32:46 +0000 (12:32 +0200)
commit6236451d83a720072053855fa63d51934024a707
tree8596f5ceee4e8b38804a74895d698a389e5cf6bf
parent6579324a41cc414009a601738b70a53d6376325c
gpu: host1x: Add debug support

Add support for host1x debugging. Adds debugfs entries, and dumps
channel state to UART in case of stuck job.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
15 files changed:
drivers/gpu/host1x/Makefile
drivers/gpu/host1x/cdma.c
drivers/gpu/host1x/debug.c [new file with mode: 0644]
drivers/gpu/host1x/debug.h [new file with mode: 0644]
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/hw/channel_hw.c
drivers/gpu/host1x/hw/debug_hw.c [new file with mode: 0644]
drivers/gpu/host1x/hw/host1x01.c
drivers/gpu/host1x/hw/hw_host1x01_channel.h
drivers/gpu/host1x/hw/hw_host1x01_sync.h
drivers/gpu/host1x/hw/hw_host1x01_uclass.h
drivers/gpu/host1x/hw/syncpt_hw.c
drivers/gpu/host1x/syncpt.c