Commit 75341ae2 authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Harsh Vardhan Dwivedi
Browse files

msm: kgsl: use kgsl_mmu_device_setstate() if the GPU is already idle



Use the default setstate function, which directly reprograms the IOMMU,
to change IOMMU pagetables or flush the TLB if the GPU is already idle.
This condition often occurs when the GPU is being powered down. In this
case it is desirable to avoid the overhead of issuing commands, waiting
for idle and firing events that results from using the GPU
command stream to reprogram the IOMMU.

Change-Id: I633002ac49c8fe58df3f1f6a1fd1ddf705fc1733
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent 1013dda1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment