drm/i915: Move the SKL+ zero constant alpha handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Oct 2018 19:59:21 +0000 (22:59 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Oct 2018 15:25:47 +0000 (18:25 +0300)
commit52fb7d295cfe4addb87f1cbead9be3c3e2d189c5
tree36fb11fb4dd89d2944de5741be7060b6fc095a09
parent1f6f92a3d50faeeaefb4bacc25fad2bc75db7db9
drm/i915: Move the SKL+ zero constant alpha handling

Let's run through the entire plane check even when the plane
is invisible due to zero constant alpha. This makes for more
consistent behaviour since we check the src/dst coordinates,
stride etc. against the hardware limits.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181018195921.9898-2-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c