diff options
author | Matt Roper <[email protected]> | 2016-06-17 13:42:20 -0700 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2016-08-18 14:26:54 +0200 |
commit | 43aa7e87507f519b0b2497b6fac1e894554eaef2 (patch) | |
tree | 2e53e8b9eb5c6e01e102c9185f096847a444546b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1b54a880b250acc226b13cea221b90aa1b3e37dd (diff) |
drm/i915/gen9: Drop invalid WARN() during data rate calculation
It's possible to have a non-zero plane mask and still wind up with a
total data rate of zero. There are two cases where this can happen:
* planes are active (from the KMS point of view), but are
all fully clipped (positioned offscreen)
* the only active plane on a CRTC is the cursor (which is handled
independently and not counted into the general data rate computations
These are both valid display setups (although unusual), so we need to
drop the WARN().
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Testcase: kms_universal_planes.cursor-only-pipe-*
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Cc: [email protected] #v4.7+
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions