From patchwork Thu Oct 25 17:06:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 1646041 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 705253FE1C for ; Thu, 25 Oct 2012 17:06:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AB62BA09F1 for ; Thu, 25 Oct 2012 10:06:40 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F2529E7CA for ; Thu, 25 Oct 2012 10:06:26 -0700 (PDT) Received: by mail-wi0-f171.google.com with SMTP id hj13so4710852wib.12 for ; Thu, 25 Oct 2012 10:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=TtgWd7UwzPP5gqV2E3ne7mSQfG0mbVQ8XvM9hGE69H4=; b=tjd0xMv/ilYqZPPPpsUFxvVk8MOuJuFhERvih/4aCNpsciFPERx02iKx+ITaJzY0OQ +J63KM+FV+kOt+yFWIQdm394LijdrlsqdjiZ9yMdXTJ0AgOYCvbMIrkdxTsT3plVNSta 8GC8HLnzq4jYVr3HUAmsQ82hbxGE9zV5jOk0xPc1nOenBkRQdH6u2cOpctWGtfdLyIY7 EmBcL7ONwLnN/biVvVavK0q9mDHxM57iKJzuJakCOV2ppkpxYBR9P98e557RS0if46Nc xv/Fu+tVRNpn6rzgBmUAF3AHtHYs1Bj7TQO49MBycvGW4kg57oCCdpWOZn9nAK9C1jMB gWiw== Received: by 10.180.80.104 with SMTP id q8mr15262839wix.6.1351184786149; Thu, 25 Oct 2012 10:06:26 -0700 (PDT) Received: from localhost.localdomain ([83.217.123.106]) by mx.google.com with ESMTPS id dq6sm10790912wib.5.2012.10.25.10.06.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 10:06:22 -0700 (PDT) From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Thu, 25 Oct 2012 18:06:19 +0100 Message-Id: <1351184779-15336-1-git-send-email-damien.lespiau@gmail.com> X-Mailer: git-send-email 1.7.7.5 Subject: [Intel-gfx] [PATCH] drm/i915: VLV does not have a sprite scaler X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: Damien Lespiau Just like HSW, VLV does not have a sprite scale. Set intel_plane->can_scale accordingly. Signed-off-by: Damien Lespiau Reviewed-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_sprite.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 24b8231..9c378f5 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -700,7 +700,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;