[Intel-gfx] [PATCH 3/3] drm/i915/gen9: Drop invalid WARN() during data rate calculation

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Jun 13 09:33:50 UTC 2016


Op 10-06-16 om 00:14 schreef Matt Roper:
> 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().
Is there a testcase that triggers this warn? Something for kms_universal_planes perhaps?

Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Testcase: kms_universal_planes.cursor-only-pipe-* (will reply here as a patch)


More information about the Intel-gfx mailing list