Skip to content

Commit 4aca413

Browse files
committed
media: staging: tegra-vde: Bump BSEV DMA timeout
BSEV DMA timeouts if VDE is downclocked by x10. Bump the timeout to allow DMA to complete. We don't support freq scaling yet, this is just a minor improvement which may become useful sometime later. Signed-off-by: Dmitry Osipenko <[email protected]>
1 parent 8d02ef3 commit 4aca413

File tree

1 file changed

+1
-1
lines changed
  • drivers/staging/media/tegra-vde

1 file changed

+1
-1
lines changed

drivers/staging/media/tegra-vde/h264.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static int tegra_vde_wait_bsev(struct tegra_vde *vde, bool wait_dma)
108108
return 0;
109109

110110
err = readl_relaxed_poll_timeout(vde->bsev + INTR_STATUS, value,
111-
!(value & BSE_DMA_BUSY), 1, 100);
111+
!(value & BSE_DMA_BUSY), 1, 1000);
112112
if (err) {
113113
dev_err(dev, "BSEV DMA timeout\n");
114114
return err;

0 commit comments

Comments
 (0)