diff options
| author | Maarten Lankhorst <[email protected]> | 2018-01-16 16:53:31 +0100 |
|---|---|---|
| committer | Maarten Lankhorst <[email protected]> | 2018-01-17 10:14:01 +0100 |
| commit | 3f5b933e60506452ea4f83d8a436607cb1c8fa24 (patch) | |
| tree | ffb72460fb76d270a63666f1685ccebfef18e848 /tools/perf/scripts/python/netdev-times.py | |
| parent | ac25dfed15d470d7f23dd817e965b54aa3f94a1e (diff) | |
drm/i915: Do not WARN_ON with small framebuffers.
It's perfectly legal to create a fb with stride < 512, and one of
the kms_plane_scaling subtests creates a very small fb.
Downgrade the WARN_ON to a simple check check, and because this
function is potentially called on every atomic update/pageflip,
downgrade the other WARN_ON to a WARN_ON_ONCE, and do the right
thing here.
Cc: Paulo Zanoni <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions