diff options
author | Andrew Howe <ahowe@nvidia.com> | 2011-03-22 18:38:23 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:44:59 -0800 |
commit | 92be709bc9862ea968a1cc8ca006427bb787b57c (patch) | |
tree | 834901fd8a80711ca1420f5e2c6bca4a3bb15851 /drivers/video/tegra/host/nvhost_cdma.h | |
parent | 5dd93c6b6029ec95ed39b4a3dd76a0aff85c64b0 (diff) |
video: tegra: host: Renovate debug code
Bring in changes to enable dumping the debug state
to the kernel log (used when module suspend times out).
Rewrote debug code to get that working more cleanly (no 16K buffer).
Refactored & cleaned up debug code to make it easier to understand.
Original-Change-Id: I22db36a627bfb1815a46866dfe23a5d3aa693edc
Reviewed-on: http://git-master/r/24157
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I92d7dcc4ede088179a5a1bca982fdfba1eeb3553
Rebase-Id: Ra013bf33c1002d2e37a7c97b7d4b441ad51f7211
Diffstat (limited to 'drivers/video/tegra/host/nvhost_cdma.h')
-rw-r--r-- | drivers/video/tegra/host/nvhost_cdma.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/tegra/host/nvhost_cdma.h b/drivers/video/tegra/host/nvhost_cdma.h index 59a45690de73..a5876670a20a 100644 --- a/drivers/video/tegra/host/nvhost_cdma.h +++ b/drivers/video/tegra/host/nvhost_cdma.h @@ -3,7 +3,7 @@ * * Tegra Graphics Host Command DMA * - * Copyright (c) 2010, NVIDIA Corporation. + * Copyright (c) 2010-2011, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -97,7 +97,7 @@ void nvhost_cdma_end(struct nvhost_cdma *cdma, struct nvmap_handle **handles, unsigned int nr_handles); void nvhost_cdma_update(struct nvhost_cdma *cdma); void nvhost_cdma_flush(struct nvhost_cdma *cdma); -void nvhost_cdma_find_gather(struct nvhost_cdma *cdma, u32 dmaget, - u32 *addr, u32 *size); +void nvhost_cdma_peek(struct nvhost_cdma *cdma, + u32 dmaget, int slot, u32 *out); #endif |