From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC38CC07E9A for ; Wed, 14 Jul 2021 13:00:32 +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 74347613B7 for ; Wed, 14 Jul 2021 13:00:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74347613B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=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 1B5456E288; Wed, 14 Jul 2021 13:00:32 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id C277E6E284 for ; Wed, 14 Jul 2021 13:00:30 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10044"; a="197524352" X-IronPort-AV: E=Sophos;i="5.84,239,1620716400"; d="scan'208";a="197524352" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2021 06:00:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,239,1620716400"; d="scan'208";a="494442014" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jul 2021 06:00:28 -0700 Received: from bgsmsx603.gar.corp.intel.com (10.109.78.82) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 14 Jul 2021 06:00:27 -0700 Received: from bgsmsx606.gar.corp.intel.com (10.67.234.8) by BGSMSX603.gar.corp.intel.com (10.109.78.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 14 Jul 2021 18:30:24 +0530 Received: from bgsmsx606.gar.corp.intel.com ([10.67.234.8]) by BGSMSX606.gar.corp.intel.com ([10.67.234.8]) with mapi id 15.01.2242.010; Wed, 14 Jul 2021 18:30:24 +0530 From: "Manna, Animesh" To: "Gupta, Anshuman" , "intel-gfx@lists.freedesktop.org" Thread-Topic: [PATCH] drm/i915/debugfs: DISPLAY_VER 13 lpsp capability Thread-Index: AQHXd79GE80RD9tdx0S2Qj5Fnr5pIKtCcHiw Date: Wed, 14 Jul 2021 13:00:24 +0000 Message-ID: <61e6f1836cbd48c0a9d1500aaa26d3fb@intel.com> References: <20210709115420.25381-1-anshuman.gupta@intel.com> <20210713075738.23759-1-anshuman.gupta@intel.com> In-Reply-To: <20210713075738.23759-1-anshuman.gupta@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [10.223.10.1] MIME-Version: 1.0 Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: DISPLAY_VER 13 lpsp capability X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" > -----Original Message----- > From: Gupta, Anshuman > Sent: Tuesday, July 13, 2021 1:28 PM > To: intel-gfx@lists.freedesktop.org > Cc: Gupta, Anshuman ; Manna, Animesh > > Subject: [PATCH] drm/i915/debugfs: DISPLAY_VER 13 lpsp capability > > Extend i915_lpsp_capability debugfs to DG2,ADLP and future platforms. > > v2: commit log modification. > > Cc: Animesh Manna > Signed-off-by: Anshuman Gupta Changes looks good to me. Reviewed-by: Animesh Manna Regards, Animesh > --- > drivers/gpu/drm/i915/display/intel_display_debugfs.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c > b/drivers/gpu/drm/i915/display/intel_display_debugfs.c > index d5af5708c9da..65832c4d962f 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c > +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c > @@ -2256,6 +2256,11 @@ static int i915_lpsp_capability_show(struct seq_file > *m, void *data) > if (connector->status != connector_status_connected) > return -ENODEV; > > + if (DISPLAY_VER(i915) >= 13) { > + LPSP_CAPABLE(encoder->port <= PORT_B); > + return 0; > + } > + > switch (DISPLAY_VER(i915)) { > case 12: > /* > -- > 2.26.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx