drm/i915: Store frontbuffer_bits in the plane
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Jun 2015 18:59:34 +0000 (21:59 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Jun 2015 12:11:44 +0000 (14:11 +0200)
Avoid some 'switch (plane->type)' by storing the fronbuffer_bits in
intel_plane.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: use singular frontbuffer_bits in intel_plane since a plan can
only ever have one bit. Discussed with Ville on irc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found