Commit 784b439b authored by Oluwafemi Adeyemi's avatar Oluwafemi Adeyemi Committed by Linux Build Service Account
Browse files

mmc: msm_sdcc: Set CPU_DMA latency for acceptable QOS



To prevent speed degradation in high throughput
scenarios, specify CPU_DMA latency which gives
acceptable QOS. This should be derived without
knowledge of specific low power mode latencies.

For MMC/SD cards, reads tend to be the fastest
transactions, and suffer most from latency. To
ensure acceptable QOS, the average chunk size read
is used with typical best-in-class read speeds
seen across targets and cards.

With an average chunk size of 128KiB transferred
at 30MB/s, a 5% degradation in speed allows for
an additional 200us latency. This default can
be overridden by newer targets with more stringent
latency requirements.

Change-Id: I77d320d2b5e34e3b72ba41ed25454ece042eeddb
Signed-off-by: default avatarOluwafemi Adeyemi <aadeyemi@codeaurora.org>
parent bfbee157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment