Message ID | 20201006143349.5561-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=f8CR=DN=lists.freedesktop.org=intel-gfx-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 63E1B139A for <patchwork-intel-gfx@patchwork.kernel.org>; Tue, 6 Oct 2020 14:34:11 +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 3BFEF204EF for <patchwork-intel-gfx@patchwork.kernel.org>; Tue, 6 Oct 2020 14:34:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3BFEF204EF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 681C46E4A2; Tue, 6 Oct 2020 14:34:08 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71D946E4A2 for <intel-gfx@lists.freedesktop.org>; Tue, 6 Oct 2020 14:34:07 +0000 (UTC) IronPort-SDR: 9ADyBj6ffR3LhBMbaM6JWjvXcGVsNHYBy9ci4OVVaVT8q5fkPvie03N9SXrDZ2UxhU+S9JEGP5 UJFyUTYp6YVg== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="228651067" X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="228651067" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 07:33:54 -0700 IronPort-SDR: Z/08aO50a+Dk0oXg7ZVsz2HVSpdNt5XoYXv8lHc9En4GxPB6vyyZAIKZWGwv4S3HEnpnoR8rz2 DI3ZfZMP72mw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="343796195" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga008.jf.intel.com with SMTP; 06 Oct 2020 07:33:50 -0700 Received: by stinkbox (sSMTP sendmail emulation); Tue, 06 Oct 2020 17:33:49 +0300 From: Ville Syrjala <ville.syrjala@linux.intel.com> To: intel-gfx@lists.freedesktop.org Date: Tue, 6 Oct 2020 17:33:29 +0300 Message-Id: <20201006143349.5561-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/20] drm/i915: Futher cleanup around hpd pins and port identfiers X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> |
Series |
drm/i915: Futher cleanup around hpd pins and port identfiers
|
expand
|
From: Ville Syrjälä <ville.syrjala@linux.intel.com> Continuing the saga of trying to remove most of the nasty platform if-ladders from the irq code where they don't belong. Also adding some aliases for the TC DDIs/AUX CHs to make the code less confusing. And some other cleanup around the affected areas that kept bugging me. After this I think new platforms shouldn't really need any changes to the HPD irq code unless the bits get shuffled around yet again (which sadly does seem to be the case sometimes). Ville Syrjälä (20): drm/i915: Sort the mess around ICP TC hotplugs regs drm/i915: s/PORT_TC/TC_PORT_TC/ drm/i915: Add PORT_TCn aliases to enum port drm/i915: Give DDI encoders even better names drm/i915: Introduce AUX_CH_USBCn drm/i915: Pimp AUX CH names drm/i915: Use AUX_CH_USBCn for the RKL VBT AUX CH setup drm/i915: Parametrize BXT_DE_PORT_HP_DDI with hpd_pin drm/i915: Introduce GEN8_DE_PORT_HOTPLUG() drm/i915: s/port/hpd_pin/ for icp+ ddi hpd bits drm/i915: s/tc_port/hpd_pin/ in GEN11_{TC,TBT}_HOTPLUG() drm/i915: s/tc_port/hpd_pin/ in icp+ TC hotplug bits drm/i915: Relocate intel_hpd_{enabled,hotplug}_irqs() drm/i915: Split gen11_hpd_detection_setup() into tc vs. tbt variants drm/i915: Don't enable hpd detection logic from irq_postinstall() drm/i915: Rename 'tmp_mask' drm/i915: Remove the per-plaform IIR HPD masking drm/i915: Enable hpd logic only for ports that are present drm/i915: Use GEN3_IRQ_INIT() to init south interrupts in icp+ drm/i915: Get rid of ibx_irq_pre_postinstall() drivers/gpu/drm/i915/display/intel_bios.c | 18 +- drivers/gpu/drm/i915/display/intel_ddi.c | 31 +- drivers/gpu/drm/i915/display/intel_display.c | 30 +- drivers/gpu/drm/i915/display/intel_display.h | 30 +- drivers/gpu/drm/i915/display/intel_dp.c | 66 ++- drivers/gpu/drm/i915/display/intel_tc.c | 2 +- drivers/gpu/drm/i915/i915_irq.c | 549 ++++++++++--------- drivers/gpu/drm/i915/i915_reg.h | 323 +++++------ 8 files changed, 589 insertions(+), 460 deletions(-)