drm/i915: Don't populate plane->i9xx_plane for sprites
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Oct 2018 12:58:09 +0000 (15:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Oct 2018 10:50:46 +0000 (13:50 +0300)
commitee6e0496de1f99108fc192e72159fdf8cfdefed6
treed45ceb5d1df427ee425c59f3bd0f539aeddcb317
parentdeb196895f8422f7d78e93c6d0e32da1e79b8955
drm/i915: Don't populate plane->i9xx_plane for sprites

enum i9xx_plane_id namespace is not valid for any sprite plane,
so let's not even populate plane->i9xx_plane.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181005125817.22576-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_sprite.c