]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Don't use iommu for command TX buffer for DSIv2
authorArchit Taneja <architt@codeaurora.org>
Tue, 13 Oct 2015 06:50:47 +0000 (12:20 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 15:40:45 +0000 (10:40 -0500)
commite54beaf1ef8d82171543e1cba641c3bcad7477e2
tree207116f8790fee6b4e96e613664418d68ad65966
parent000a1307cd77af972444e723f85b3255d7e187a0
drm/msm/dsi: Don't use iommu for command TX buffer for DSIv2

We currently use iommu allocated DMA buffers for sending DSI commands.
DSIv2 doesn't have a port connected to the MDP iommu. Therefore, it
can't use iommu allocated buffers to fetch DSI commands.

Use a regular contiguous DMA buffer if we are DSIv2.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi.h
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/dsi/dsi_manager.c