aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-07-31 08:43:31 +0000
committerMark Brown <[email protected]>2021-08-02 11:14:00 +0000
commit8b5d95313b6d30f642e4ed0125891984c446604e (patch)
tree13a26568ea814f2be05e1424ffe48757ce19d509 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentASoC: nau8824: Fix open coded prefix handling (diff)
downloadkernel-8b5d95313b6d30f642e4ed0125891984c446604e.tar.gz
kernel-8b5d95313b6d30f642e4ed0125891984c446604e.zip
ASoC: amd: Fix reference to PCM buffer address
PCM buffers might be allocated dynamically when the buffer preallocation failed or a larger buffer is requested, and it's not guaranteed that substream->dma_buffer points to the actually used buffer. The driver needs to refer to substream->runtime->dma_addr instead for the buffer address. Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions