Skip to content

Commit dd92325

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 adb0980 commit dd92325

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static int tegra_vde_wait_bsev(struct tegra_vde *vde, bool wait_dma)
100100
return 0;
101101

102102
err = readl_relaxed_poll_timeout(vde->bsev + INTR_STATUS, value,
103-
!(value & BSE_DMA_BUSY), 1, 100);
103+
!(value & BSE_DMA_BUSY), 1, 1000);
104104
if (err) {
105105
dev_err(dev, "BSEV DMA timeout\n");
106106
return err;

0 commit comments

Comments
 (0)