video: driver: enable best fit algo

Change-Id: If13536330b0a7c3c37768dc85d9198c3e1e9630d
Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
This commit is contained in:
Darshana Patil
2022-10-03 11:05:27 -07:00
committed by Gerrit - the friendly Code Review server
vanhempi 3d9c6f17f9
commit 5b4ced6c7b

Näytä tiedosto

@@ -802,13 +802,10 @@ static int msm_vidc_setup_context_bank(struct msm_vidc_core *core,
* possibility to get a mapping for buffer in the configured CB.
*/
/*
* TBD: iommu_dma_enable_best_fit_algo is commented temoprarily to enable dlkm
* compilation once headers are availbale when the GKI branch for Kailua (android13-5.next)
* branches out
*/
/*iommu_dma_enable_best_fit_algo(cb->dev);*/
/* remove kernel version condition once below api is whitelisted in pineapple */
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,16,0))
iommu_dma_enable_best_fit_algo(cb->dev);
#endif
/*
* configure device segment size and segment boundary to ensure