Message ID | 20200422141215.1548544-50-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 496jC36r5rz9sT4; Thu, 23 Apr 2020 00:15:43 +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 1jRGA6-0004AF-Pp; Wed, 22 Apr 2020 14:15:38 +0000 Received: from mail-pg1-f171.google.com ([209.85.215.171]) 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 1jRG91-0003Ow-DN for kernel-team@lists.ubuntu.com; Wed, 22 Apr 2020 14:14:31 +0000 Received: by mail-pg1-f171.google.com with SMTP id f20so1131243pgl.12 for <kernel-team@lists.ubuntu.com>; Wed, 22 Apr 2020 07:14:31 -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=+QE/KqaUDeJeD5ufyCwoXsL/ubDgYOcPOW2E0hUjVVs=; b=nqlkdSSpnVhkmd+w0KG+WrF79Je1IyQCCRpwXEDxtY9He4NtgBsOXwiHId/ZgHKqJH LrFArbC1hPV5dyNYQj5qjFrW0+Lz8PDpG6rSB87C1FwrUz1o0khMd8awEIPPe1E/idhz rpIfhRk2CtzlY8ESWy+GS7QYEPrOmLQIZABL1MDieuJsQwv7NypydotHK3qXxyzhubKw T7VCf6kdtWmGkhdyKIqTtfYRi2AHC7Kt62M957vQf/nUIhrq8NhZzaMo7+QBG+HUwIxW kEIUKkl/pMyJLFShIE6kV0bEWhEBAt5HmwFAc5RnvbEvwetrQN+MZY21d6Pa5BawaSm0 4DyQ== X-Gm-Message-State: AGi0PuYMpVy2Bc6OyMd8DUBum1iYBveNrM3JaDCs1s7lIIQ9BNJBTOS0 aYXdPe4Ce0LgIxQz8yZFgvJKL4Ff4QE= X-Google-Smtp-Source: APiQypLlerZvqhE35HwKNlxe4e1cgNB3tdjLxbW1Ro04awZ5dtEGKCsZhqOMyLaEpGLEiIbPHsdM+g== X-Received: by 2002:a63:e94f:: with SMTP id q15mr26932732pgj.339.1587564865390; Wed, 22 Apr 2020 07:14:25 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id f2sm5310905pju.32.2020.04.22.07.14.23 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 07:14:24 -0700 (PDT) From: You-Sheng Yang <vicamo.yang@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][E][PATCH 49/52] drm/i915/tc: Skip ref held check for TC legacy aux power wells Date: Wed, 22 Apr 2020 22:12:12 +0800 Message-Id: <20200422141215.1548544-50-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200422141215.1548544-1-vicamo.yang@canonical.com> References: <20200422141215.1548544-1-vicamo.yang@canonical.com> MIME-Version: 1.0 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 |
Fix TC port in legacy/static mode can't be detected due TCCOLD
|
expand
|
diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c index a8ada51c37c8..b186f7ea52f1 100644 --- a/drivers/gpu/drm/i915/display/intel_display_power.c +++ b/drivers/gpu/drm/i915/display/intel_display_power.c @@ -532,6 +532,9 @@ static void icl_tc_port_assert_ref_held(struct drm_i915_private *dev_priv, if (WARN_ON(!dig_port)) return; + if (INTEL_GEN(dev_priv) == 11 && dig_port->tc_legacy_port) + return; + WARN_ON(!intel_tc_port_ref_held(dig_port)); }