drm/i915: VLV does not have a sprite scaler
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 25 Oct 2012 17:06:19 +0000 (18:06 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 16:30:26 +0000 (18:30 +0200)
Just like HSW, VLV does not have a sprite scale. Set
intel_plane->can_scale accordingly.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c

index 176c46225f90458ccffa93b55dbfca602623189e..e69035d40aee5f1a298023385d4c8b4bfa93eb13 100644 (file)
@@ -692,7 +692,7 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe)
                break;
 
        case 7:
-               if (IS_HASWELL(dev))
+               if (IS_HASWELL(dev) || IS_VALLEYVIEW(dev))
                        intel_plane->can_scale = false;
                else
                        intel_plane->can_scale = true;