Message ID | 20201124104313.421860-16-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 4CgLHR6Tl4z9sVW; Tue, 24 Nov 2020 21:44:19 +1100 (AEDT) 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 1khVnz-0003TY-0l; Tue, 24 Nov 2020 10:44:15 +0000 Received: from mail-pl1-f194.google.com ([209.85.214.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 1khVnn-0003Ha-RS for kernel-team@lists.ubuntu.com; Tue, 24 Nov 2020 10:44:04 +0000 Received: by mail-pl1-f194.google.com with SMTP id v21so9235336plo.12 for <kernel-team@lists.ubuntu.com>; Tue, 24 Nov 2020 02:43:56 -0800 (PST) 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=J8xS/imUDj4ZuTS5ZpmEF7Ky+oI1+AyFk+5NWjPU7yM=; b=XugmJ7Wud4gjVW6H2oIxVzeHXZM07IrGd0eKiBYx2fth0DqXTYlO6/eQaCniLKWc+I AXMEo+SgP+wG0PHJ+K79afXf+EnjNE86D7SKwihOUzYjiyDJ6hkm0fnvwor3q98f5kj6 7LzQeCSeKerpUtaWe/39MsiLXtl89Cf790yiOCnrYvkWPaxY0ZQJ6upHDtt6JtkiQIHK wuNCtBIlQwCfCettvA1gSjn2aPZ/wZE4HdSCyIRImMsXesGaI8QaP/ulbColKD1RyW2J loOkAuZmR0uSGfzFFi3O1lKQyqjYJc7zpLLKBalSUm2sRY64G4jjTDOr0esFbGzD5zTb vKxQ== X-Gm-Message-State: AOAM531XCeEG/wJpucwdoqll7zrG0GYSGhkHChO1cJBXnDFwK4QJ90C4 tw6A3QjpC/kSRyf++/Iyl3KeEDP4zrSkmA== X-Google-Smtp-Source: ABdhPJzfMcfDWiA0EQ8QlwLpzEt6qydAb9l5g1NPiusFKmwamBXodjY2CiVePglhQ2uHDfyfw5QwZw== X-Received: by 2002:a17:902:6905:b029:d8:cc38:2c9f with SMTP id j5-20020a1709026905b02900d8cc382c9fmr3380322plk.49.1606214634740; Tue, 24 Nov 2020 02:43:54 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id p18sm2754382pju.17.2020.11.24.02.43.53 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 02:43:54 -0800 (PST) From: You-Sheng Yang <vicamo.yang@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 15/38][SRU][G/H] drm/i915/ddi: Don't frob the DP link scramble disabling flag Date: Tue, 24 Nov 2020 18:42:50 +0800 Message-Id: <20201124104313.421860-16-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201124104313.421860-1-vicamo.yang@canonical.com> References: <20201124104313.421860-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.194; envelope-from=vicamo@gmail.com; helo=mail-pl1-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 DRM support for LTTPR non-transparent link training mode
|
expand
|
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c index 637c6e64838e..3211fa6acf8c 100644 --- a/drivers/gpu/drm/i915/display/intel_ddi.c +++ b/drivers/gpu/drm/i915/display/intel_ddi.c @@ -4012,8 +4012,7 @@ static void intel_ddi_prepare_link_retrain(struct intel_dp *intel_dp) intel_wait_ddi_buf_idle(dev_priv, port); } - dp_tp_ctl = DP_TP_CTL_ENABLE | - DP_TP_CTL_LINK_TRAIN_PAT1 | DP_TP_CTL_SCRAMBLE_DISABLE; + dp_tp_ctl = DP_TP_CTL_ENABLE | DP_TP_CTL_LINK_TRAIN_PAT1; if (intel_dp->link_mst) dp_tp_ctl |= DP_TP_CTL_MODE_MST; else { @@ -4041,11 +4040,6 @@ static void intel_ddi_set_link_train(struct intel_dp *intel_dp, temp = intel_de_read(dev_priv, intel_dp->regs.dp_tp_ctl); - if (dp_train_pat & DP_LINK_SCRAMBLING_DISABLE) - temp |= DP_TP_CTL_SCRAMBLE_DISABLE; - else - temp &= ~DP_TP_CTL_SCRAMBLE_DISABLE; - temp &= ~DP_TP_CTL_LINK_TRAIN_MASK; switch (dp_train_pat & train_pat_mask) { case DP_TRAINING_PATTERN_DISABLE: