Message ID | 20200422141215.1548544-30-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 496j9X0MZ0z9sSm; Thu, 23 Apr 2020 00:14:24 +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 1jRG8n-0003Hb-GJ; Wed, 22 Apr 2020 14:14:17 +0000 Received: from mail-pf1-f174.google.com ([209.85.210.174]) 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 1jRG88-0002m5-Vl for kernel-team@lists.ubuntu.com; Wed, 22 Apr 2020 14:13:37 +0000 Received: by mail-pf1-f174.google.com with SMTP id x3so1140289pfp.7 for <kernel-team@lists.ubuntu.com>; Wed, 22 Apr 2020 07:13:36 -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=oTZyyFE+hOawHg3w0Z2Hrh7UPasFU/tAbcK746DdBCI=; b=kshytrht5WJBSjVHJGG7g4kivAcnN3INYulhIyWog+IrP4gokvzHEESbbJsPJl/6PP 3ljHmjsfT8aENQVNtnwkcqcdmxOy0jyIw+O85YBKVaqfUIWjFPFznDoXJnRPudu7jWO3 9o956SpTLWWHGHi+k+YL2aDv4MEnQhpn9jIrMFVc+6vllJEtB/TDKiEn2anFtW8D6pAv cm7VUD/EXQxJDPprndPRNYHgMWVtn3dsyzNLzgBUhH/1wRPEWKNDosJNZGy3EGfY7U67 eQZqC8ke7R5zA1SsSUiRKZA7cqCmSHL3jMUDKeUJ9e5t8VmEVHuK5T9JOFIsyi6r8zUX RYmQ== X-Gm-Message-State: AGi0Pua2SIq7EHZQCPdKGyr2XC0GLVmPvNDAMwzpkd3DmBm8qI5p3Jm3 /FJeJXRP3cKPWgjaowWFaFVFITtpo9s= X-Google-Smtp-Source: APiQypLUfHyCaHDEkbRKdSQRoNSTbn9ncTU9uoZeaigBaiykpwJRL/YdwBcbqZdaC/LlHKWfIjAqLQ== X-Received: by 2002:a63:1f61:: with SMTP id q33mr11839222pgm.18.1587564813497; Wed, 22 Apr 2020 07:13:33 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id y186sm2406091pfy.66.2020.04.22.07.13.32 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 07:13:32 -0700 (PDT) From: You-Sheng Yang <vicamo.yang@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][E][PATCH 29/52] drm/i915: fix include order in intel_tc.* Date: Wed, 22 Apr 2020 22:11:52 +0800 Message-Id: <20200422141215.1548544-30-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_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c index 8a1a405d37e2..cdbc6ea12ead 100644 --- a/drivers/gpu/drm/i915/display/intel_tc.c +++ b/drivers/gpu/drm/i915/display/intel_tc.c @@ -3,9 +3,9 @@ * Copyright © 2019 Intel Corporation */ +#include "i915_drv.h" #include "intel_display.h" #include "intel_dp_mst.h" -#include "i915_drv.h" #include "intel_tc.h" static const char *tc_port_mode_name(enum tc_port_mode mode) diff --git a/drivers/gpu/drm/i915/display/intel_tc.h b/drivers/gpu/drm/i915/display/intel_tc.h index 0d8411d4a91d..706c5bc050a5 100644 --- a/drivers/gpu/drm/i915/display/intel_tc.h +++ b/drivers/gpu/drm/i915/display/intel_tc.h @@ -6,8 +6,9 @@ #ifndef __INTEL_TC_H__ #define __INTEL_TC_H__ -#include <linux/types.h> #include <linux/mutex.h> +#include <linux/types.h> + #include "intel_drv.h" bool intel_tc_port_connected(struct intel_digital_port *dig_port);