Message ID | 20191021143437.1477719-6-thierry.reding@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=V6AW=YO=lists.freedesktop.org=dri-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F3298913 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 21 Oct 2019 14:34:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB70020656 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 21 Oct 2019 14:34:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB70020656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1752E6E11A; Mon, 21 Oct 2019 14:34:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5DC6E6E11A for <dri-devel@lists.freedesktop.org>; Mon, 21 Oct 2019 14:34:56 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id p7so13621534wmp.4 for <dri-devel@lists.freedesktop.org>; Mon, 21 Oct 2019 07:34:56 -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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W5H5qyGGsziM/i5CH5bmShvYIYxFUgq6AWdyID/nnnI=; b=grCc1EW54xo2bNo6xPpPHnXb1aqiDbbEpkPgn6cAHF8klvyY32Q3Js5iXswkVZZgsP aHf19R/PBCIhaUkS2emdOYdsLF8ztIfaZo3R7Zx/YYaklyVd1vzuTDFEd1FGtbmiuxBg Bq1dp6RGS6M11913g102RAmnUk2+nzmPQo/x1UDm8VKOdOnK2y5CjZoRlMcpPF/vXilL OSn1zUx9Rae8OIOivr2LSKTiNXgmgPluIVm/26J/NKNmmvVEcyGMpOTQVjAi1izaf1xe +CWF3n70xZB/TR2jN8VDgwzR8P2dxuEDRrvfDEySgdFZYPmf+bpSvunqI8eiG+3GA9oS SEXQ== X-Gm-Message-State: APjAAAXzvN3KUOpQq9PMZkrZ0x0NroUq73DOZTGqACdFodUSncN+3WFL B/gzy7STmB59wW+vNiyU2I1601ou X-Google-Smtp-Source: APXvYqxUDgecEBruDwIvLvTHhx82ZguGsnjS986ILGmbdOVIwc6Ei4A7xZssIylwXJtq3jrAD0w3Og== X-Received: by 2002:a05:600c:1088:: with SMTP id e8mr20088814wmd.27.1571668494007; Mon, 21 Oct 2019 07:34:54 -0700 (PDT) Received: from localhost (p2E5BE2CE.dip0.t-ipconnect.de. [46.91.226.206]) by smtp.gmail.com with ESMTPSA id u68sm18864529wmu.12.2019.10.21.07.34.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 07:34:52 -0700 (PDT) From: Thierry Reding <thierry.reding@gmail.com> To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 05/13] drm/dp: Add drm_dp_alternate_scrambler_reset_cap() helper Date: Mon, 21 Oct 2019 16:34:29 +0200 Message-Id: <20191021143437.1477719-6-thierry.reding@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191021143437.1477719-1-thierry.reding@gmail.com> References: <20191021143437.1477719-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W5H5qyGGsziM/i5CH5bmShvYIYxFUgq6AWdyID/nnnI=; b=kFlA85SVcDXZov3Sb7FYc3pBhj5ZcKbsuGUVE8/9FYhuNzif/Jc1aUl5kaiTgpbeZC X8KyWPeNTJBMgS3OQAyWqRVmQfce66ErO2WPtbQTHN9Vf8Ul6HTxX8zwqAL+n4PEUMA8 HaolGr8yKGikB6v5VRZFVA4uKxQC6pWbUX0XX/bjFTkrc6GScMZy3v9B57OBKwOLOQBc pSjyY4WaDYiop/HFhnxeYDQJDlXutqqwnTNXzPfr8wzgluTpahRR5+/NYP7apK3GyAkr OIsqNpGbnWtN9z8Oe8SKN7Y430EuvXlK3ldjm6tp8xDBKcz1D12O+1AYjAJpx5JVYPJX yZkg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm/dp: Move drm_dp_link helpers to Tegra DRM
|
expand
|
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index bc276c80b927..b3402cb186a4 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -1294,6 +1294,13 @@ drm_dp_channel_coding_supported(const u8 dpcd[DP_RECEIVER_CAP_SIZE]) return dpcd[DP_MAIN_LINK_CHANNEL_CODING] & DP_CAP_ANSI_8B10B; } +static inline bool +drm_dp_alternate_scrambler_reset_cap(const u8 dpcd[DP_RECEIVER_CAP_SIZE]) +{ + return dpcd[DP_EDP_CONFIGURATION_CAP] & + DP_ALTERNATE_SCRAMBLER_RESET_CAP; +} + /* * DisplayPort AUX channel */