Skip to content

Commit

Permalink
drm/i915: VLV does not have a sprite scaler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Damien Lespiau authored and Daniel Vetter committed Oct 26, 2012
1 parent fbfcc4f commit 4d8d71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_sprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4d8d71b

Please sign in to comment.