diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-08-12 12:13:13 +0530 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-09-09 11:35:18 +0100 |
commit | 028d7ad1aff413c8dff2c53202ee709dd87aeb48 (patch) | |
tree | d2623d6d5aa5bdf2bf96d2a9b70c5f584fe77946 | |
parent | bccb9be1b5176dac2383ba1a62861a0e83444032 (diff) |
HACK: drm/msm: increase coherent dma maskqcomlt-v4.7
Increase the coherent DMA mask to a higher number. This is the
physical memory that the IOMMU maps to a 32 bit VA for display.
The physical memory chunks provided by shmem come out to be 33
bit on 8996, and the existing mask causes the driver to reject
these chunks.
This is a short term fix. Need to find a better way to set the
correct mask.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index f2fd814cc708..f046f9d1bbe6 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -1044,7 +1044,7 @@ static int msm_pdev_probe(struct platform_device *pdev) if (ret) return ret; - pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); + pdev->dev.coherent_dma_mask = DMA_BIT_MASK(33); return component_master_add_with_match(&pdev->dev, &msm_drm_ops, match); } |