diff options
Diffstat (limited to 'drivers/video/tegra/host')
-rw-r--r-- | drivers/video/tegra/host/host1x/host1x_cdma.c | 14 | ||||
-rw-r--r-- | drivers/video/tegra/host/host1x/host1x_debug.c | 9 |
2 files changed, 0 insertions, 23 deletions
diff --git a/drivers/video/tegra/host/host1x/host1x_cdma.c b/drivers/video/tegra/host/host1x/host1x_cdma.c index 7a01cca3be4b..8017c71bdd14 100644 --- a/drivers/video/tegra/host/host1x/host1x_cdma.c +++ b/drivers/video/tegra/host/host1x/host1x_cdma.c @@ -368,20 +368,6 @@ static void cdma_stop(struct nvhost_cdma *cdma) } /** - * Retrieve the op pair at a slot offset from a DMA address - */ -void cdma_peek(struct nvhost_cdma *cdma, - u32 dmaget, int slot, u32 *out) -{ - u32 offset = dmaget - cdma->push_buffer.phys; - u32 *p = cdma->push_buffer.mapped; - - offset = ((offset + slot * 8) & (PUSH_BUFFER_SIZE - 1)) >> 2; - out[0] = p[offset]; - out[1] = p[offset + 1]; -} - -/** * Stops both channel's command processor and CDMA immediately. * Also, tears down the channel and resets corresponding module. */ diff --git a/drivers/video/tegra/host/host1x/host1x_debug.c b/drivers/video/tegra/host/host1x/host1x_debug.c index dc23ba6fb704..ff70acd23315 100644 --- a/drivers/video/tegra/host/host1x/host1x_debug.c +++ b/drivers/video/tegra/host/host1x/host1x_debug.c @@ -229,15 +229,6 @@ static void show_channel_gather(struct output *o, u32 addr, #endif } -u32 previous_oppair(struct nvhost_cdma *cdma, u32 cur) -{ - u32 pb = cdma->push_buffer.phys; - u32 prev = cur-8; - if (prev < pb) - prev += PUSH_BUFFER_SIZE; - return prev; -} - void show_channel_gathers(struct output *o, struct nvhost_cdma *cdma) { struct nvhost_job *job; |