commit | 907891695197b696b07c29c5d063ebbae91a4072 | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Mon Sep 16 10:29:20 2013 -0700 |
committer | Saurabh Shah <saurshah@codeaurora.org> | Mon Sep 16 13:25:39 2013 -0700 |
tree | 6fd78e19725a7b85f50cba45d175f51bf4730303 | |
parent | 90b7b9ba2769e57802d05ea834248fdba25f79d6 [diff] |
hwc: Use ib instead of ab for bandwidth checks The ab (average bandwidth) is just the average and there could be underruns when ib (instantaneous bandwidth) is attempted to be used. Add additional factor to use ib instead of ab. This means we need to assume that all the layer contents could be requested together, rather than one after another. Also use the trimmed layer dimensions for calculations. Change-Id: I771f964e1c80b5db564faa01cdfb75d75b54f97a