projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b544021
)
drm/msm: activate iommu support
author
Stephane Viau
<sviau@codeaurora.org>
Tue, 17 Jun 2014 14:32:38 +0000
(10:32 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 4 Aug 2014 15:55:28 +0000
(11:55 -0400)
This changes activates the iommu support for MDP5, through the
platform config structure.
Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
index 71510ee26e965ffa6af6605c23dd279333ecf4b2..33b826dc493d5426ad64ff8f7b5909e9af0a8e36 100644
(file)
--- a/
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
+++ b/
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
@@
-368,5
+368,11
@@
static struct mdp5_platform_config *mdp5_get_config(struct platform_device *dev)
#ifdef CONFIG_OF
/* TODO */
#endif
+ config.iommu = iommu_domain_alloc(&platform_bus_type);
+ /* TODO hard-coded in downstream mdss, but should it be? */
+ config.max_clk = 200000000;
+ /* TODO get from DT: */
+ config.smp_blk_cnt = 22;
+
return &config;
}