diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2016-06-17 13:42:20 -0700 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-08-22 16:04:28 +0300 |
commit | c7aca235aa60d1432c95b752812d359d0dbece4f (patch) | |
tree | e891bdc98cf443c7180f300a2c4cf6a74abeef7c /firmware/whiteheat.HEX | |
parent | f4750a46a0dee58f7a65b438b28a092669b609aa (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 <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Testcase: kms_universal_planes.cursor-only-pipe-*
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466196140-16336-4-git-send-email-matthew.d.roper@intel.com
Cc: stable@vger.kernel.org #v4.7+
(cherry picked from commit 43aa7e87507f519b0b2497b6fac1e894554eaef2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'firmware/whiteheat.HEX')
0 files changed, 0 insertions, 0 deletions