]> git.baikalelectronics.ru Git - kernel.git/commit
msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 14 Sep 2018 15:03:46 +0000 (09:03 -0600)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:55 +0000 (20:24 -0400)
commit80e63dbcfdad45834b06c3415a683d7f5d9b3202
treefe6181bf98d9e257e7965bbee5af56e29510c245
parent3f9b81ab26e32ac6803fd57e0f3a5db57c5ae856
msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU

The point of the 'force_dma' parameter for of_dma_configure
is to force the device to be set up even if DMA capability is
not described by the firmware which is exactly the use case
 we have for GMU - we need SMMU to get set up but we have no
other dma capabilities since memory is managed by the GPU
driver. Currently we pass false so of_dma_configure() fails
and subsequently GMU and GPU probe does as well.

Fixes: 7639a2c539e ("drm/msm: Add A6XX device support")
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Tested-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c