diff options
| author | Jesse Barnes <[email protected]> | 2009-07-16 13:01:02 -0700 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2009-07-16 13:02:40 -0700 |
| commit | 2a2430f4542467502d39660bfd66b0004fd8d6a9 (patch) | |
| tree | 8ff5a492835af7460bc0dd713e7b84b6dacdcd86 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 390c4dd448b1a5f04ea497c20f5ff664f8eeed01 (diff) | |
drm/i915: correct self-refresh calculation in "everything off" case
If no planes are enabled, the self-refresh calculation may end up doing
a divide by zero. This patch should prevent that by making sure at
least one of the CRTCs had a valid hdisplay value.
Reported-by: Eric Anholt <[email protected]>
Tested-by: Eric Anholt <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions