Message ID | 20200814065740.276039-32-vicamo.yang@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BSZ743vFmz9sTR; Fri, 14 Aug 2020 16:59:28 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1k6TgS-0000I7-Bv; Fri, 14 Aug 2020 06:59:24 +0000 Received: from mail-pf1-f194.google.com ([209.85.210.194]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <vicamo@gmail.com>) id 1k6TgI-0008S0-HQ for kernel-team@lists.ubuntu.com; Fri, 14 Aug 2020 06:59:14 +0000 Received: by mail-pf1-f194.google.com with SMTP id d22so4107926pfn.5 for <kernel-team@lists.ubuntu.com>; Thu, 13 Aug 2020 23:59:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZqPnopknWMYP51K8SSbbOcZ8UTR4Z60zQZ5SHh3e/RY=; b=VRcOPXfwQz4iFTbWIYjURdVLwCeL4/NJYUdK95ItYtvveSxWxuCzCyVYjcTJfojDmB M805wcyMSmvGkigR0Qbsny5FaL48Ub0TS9i8P4oTwIUhUJ+i4kNY5IDI6KpVmFRaWWce Bj94cv/liZfPUhCObZQSoCK5WH36RMTbfYHqewkpcAYi2nOySFGsSqtBdqdvh1AB3vtp LI1KBBH2LKB5KiCX/oUB7a99tMrzDNUZ3GHkcuZEGErNXe4JHV7IJzizRsIJBtLej+Xw EzXp5Aoo3wbq01J0wAMLHY7OOuBeJYFkkYPf6Cuzj4v7whe9xwS4O1N/U7jTl+EH+ciZ 58PQ== X-Gm-Message-State: AOAM533R4q2gRJvHK5vX16DIEHTSmjTOuGfQAlBQBe0bdhOXyaTqfcmQ 4mNlSIi7R/Cemagj2KLMPCmjWjOLWLlS8A== X-Google-Smtp-Source: ABdhPJwsf0VvYjtRdHX8hQqKn7VONZb057sqQ/Xz1U8Rv15IvDYS0fCoV98ih3pEt7NJKdK9808Zzw== X-Received: by 2002:a63:cf03:: with SMTP id j3mr890620pgg.198.1597388343343; Thu, 13 Aug 2020 23:59:03 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id q5sm7127496pgv.1.2020.08.13.23.59.02 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 23:59:02 -0700 (PDT) From: You-Sheng Yang <vicamo.yang@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 31/31][SRU][OEM-5.6] drm/i915: Enable SAGV support for Gen12 Date: Fri, 14 Aug 2020 14:57:40 +0800 Message-Id: <20200814065740.276039-32-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200814065740.276039-1-vicamo.yang@canonical.com> References: <20200814065740.276039-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.210.194; envelope-from=vicamo@gmail.com; helo=mail-pf1-f194.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Add TGL+ SAGV display support
|
expand
|
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 055c2f08d80a..64bb1ed95755 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3624,10 +3624,6 @@ static bool skl_needs_memory_bw_wa(struct drm_i915_private *dev_priv) static bool intel_has_sagv(struct drm_i915_private *dev_priv) { - /* HACK! */ - if (IS_GEN(dev_priv, 12)) - return false; - return (IS_GEN9_BC(dev_priv) || INTEL_GEN(dev_priv) >= 10) && dev_priv->sagv_status != I915_SAGV_NOT_CONTROLLED; }