Loading drivers/video/msm/mdss/mdss_fb.c +3 −1 Original line number Diff line number Diff line Loading @@ -1951,7 +1951,9 @@ void mdss_fb_free_fb_ion_memory(struct msm_fb_data_type *mfd) ion_unmap_kernel(mfd->fb_ion_client, mfd->fb_ion_handle); if (mfd->mdp.fb_mem_get_iommu_domain) { if (mfd->mdp.fb_mem_get_iommu_domain && !(!mfd->fb_attachment || !mfd->fb_attachment->dmabuf || !mfd->fb_attachment->dmabuf->ops)) { dma_buf_unmap_attachment(mfd->fb_attachment, mfd->fb_table, DMA_BIDIRECTIONAL); dma_buf_detach(mfd->fbmem_buf, mfd->fb_attachment); Loading Loading
drivers/video/msm/mdss/mdss_fb.c +3 −1 Original line number Diff line number Diff line Loading @@ -1951,7 +1951,9 @@ void mdss_fb_free_fb_ion_memory(struct msm_fb_data_type *mfd) ion_unmap_kernel(mfd->fb_ion_client, mfd->fb_ion_handle); if (mfd->mdp.fb_mem_get_iommu_domain) { if (mfd->mdp.fb_mem_get_iommu_domain && !(!mfd->fb_attachment || !mfd->fb_attachment->dmabuf || !mfd->fb_attachment->dmabuf->ops)) { dma_buf_unmap_attachment(mfd->fb_attachment, mfd->fb_table, DMA_BIDIRECTIONAL); dma_buf_detach(mfd->fbmem_buf, mfd->fb_attachment); Loading