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)
commit4ff9d4cbc15a1ac169eaabf2e3d282b7d2d3799d
tree207116f8790fee6b4e96e613664418d68ad65966
parentcea65dbd6a96bd97818a7a95034a046409040afa
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