diff options
| author | Boris Brezillon <[email protected]> | 2019-02-20 16:51:23 +0100 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2019-03-06 14:48:03 +0100 |
| commit | 4686da83154d87be6e754ddc68e4ac89b0027ea9 (patch) | |
| tree | 6f2e71d7a72d1c667fc67de947ddec100cc04977 /tools/perf/util/c++/clang-test.cpp | |
| parent | 531a1b622da9adbf9f084d2ac4bf6a9f6a9acf28 (diff) | |
drm/vc4: Add a load tracker to prevent HVS underflow errors
The HVS block is supposed to fill the pixelvalve FIFOs fast enough to
meet the requested framerate. The problem is, the HVS and memory bus
bandwidths are limited, and if we don't take these limitations into
account we might end up with HVS underflow errors.
This patch is trying to model the per-plane HVS and memory bus bandwidth
consumption and take a decision at atomic_check() time whether the
estimated load will fit in the HVS and membus budget.
Note that we take an extra margin on the memory bus consumption to let
the system run smoothly when other blocks are doing heavy use of the
memory bus. Same goes for the HVS limit, except the margin is smaller in
this case, since the HVS is not used by external components.
Signed-off-by: Boris Brezillon <[email protected]>
Signed-off-by: Paul Kocialkowski <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions