drm/i915: Use alphabetical names for sprites
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 17 Apr 2013 14:48:51 +0000 (17:48 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:55:50 +0000 (09:55 +0200)
Add sprite_name() macro which should be used with the kind of sprites
that are fixed to pipes (gen4.5+).

Also use dev_priv->num_plane to calculate the sprite index insted
assuming two sprites per pipe. This should make it print the right
name.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found