display: xlnx_dp: Provide sufficient bytes for silent audio channel
commit0f6ed883e74f3fd9eb3eedfe0e61be66e4834fc9
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Fri, 15 Nov 2019 15:56:48 +0000 (15 21:26 +0530)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 21 Nov 2019 06:12:28 +0000 (21 07:12 +0100)
tree63f6f26dff2643b2f31a3759d1d4f20943262737
parent7ffc90f3ae3d84562a4bda63cde961000b335542
display: xlnx_dp: Provide sufficient bytes for silent audio channel

Fill the audio channel with required number of bytes to cover the
elapsed time. This prevents rate control reset, and avoids debug prints
like below

log:
Resetting rate control (65692 samples)
...
Resetting rate control (65721 samples)
...

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1573833408-2388-1-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/xlnx_dp.c