aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAnand K Mistry <[email protected]>2020-04-20 06:08:34 +0000
committerChun-Kuang Hu <[email protected]>2020-05-20 16:10:08 +0000
commit9a67bc4aac82d18132e8a5677926f05d43e44e77 (patch)
treeedd0bd1b54812bee275e4be3582b2cc9fac066e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/mediatek: config mipitx impedance with calibration data (diff)
downloadkernel-9a67bc4aac82d18132e8a5677926f05d43e44e77.tar.gz
kernel-9a67bc4aac82d18132e8a5677926f05d43e44e77.zip
drm/mediatek: Stop iterating dma addresses when sg_dma_len() == 0
If dma_map_sg() merges pages when creating the mapping, only the first entries will have a valid sg_dma_address() and sg_dma_len(), followed by entries with sg_dma_len() == 0. Signed-off-by: Anand K Mistry <[email protected]> Signed-off-by: Anand K Mistry <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions