mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:11:14 -04:00
msm: kgsl: Set the I/O coherent feature earlier
Some of the KGSL core code needs to make a decision about I/O coherency so set the MMU property earlier to prevent an unneeded warning. Change-Id: Ic0dedbadf9e4665b3e20460cb6f2ca81d74847e0 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
17c22334d7
commit
50ae563cd8
1 changed files with 3 additions and 3 deletions
|
|
@ -1418,6 +1418,9 @@ static int adreno_bind(struct device *dev)
|
|||
if (adreno_is_a6xx(adreno_dev))
|
||||
kgsl_mmu_set_feature(device, KGSL_MMU_SMMU_APERTURE);
|
||||
|
||||
if (ADRENO_FEATURE(adreno_dev, ADRENO_IOCOHERENT))
|
||||
kgsl_mmu_set_feature(device, KGSL_MMU_IO_COHERENT);
|
||||
|
||||
device->pwrctrl.bus_width = adreno_dev->gpucore->bus_width;
|
||||
|
||||
device->mmu.secured = (IS_ENABLED(CONFIG_QCOM_SECURE_BUFFER) &&
|
||||
|
|
@ -1449,9 +1452,6 @@ static int adreno_bind(struct device *dev)
|
|||
|
||||
adreno_isense_probe(device);
|
||||
|
||||
if (ADRENO_FEATURE(adreno_dev, ADRENO_IOCOHERENT))
|
||||
kgsl_mmu_set_feature(device, KGSL_MMU_IO_COHERENT);
|
||||
|
||||
/* Allocate the memstore for storing timestamps and other useful info */
|
||||
|
||||
if (ADRENO_FEATURE(adreno_dev, ADRENO_APRIV))
|
||||
|
|
|
|||
Loading…
Reference in a new issue