Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2009350ybe; Tue, 3 Sep 2019 06:47:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvWLoRkoMeRadoWZW0NymN6NtTTDHc2QfIu1K4TCqFWjVANap5MqeIHfLgUmwqQBNrMIQl X-Received: by 2002:a63:5048:: with SMTP id q8mr29908444pgl.446.1567518449972; Tue, 03 Sep 2019 06:47:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567518449; cv=pass; d=google.com; s=arc-20160816; b=M+YwY/wy835Kjil1j4ho+yFx8Pircg/wA6/ixkAOwO4OWXxmwobYNNgE3Nh3vVn2CZ 9oCEaI1botM3JcT6ffQBQsVw9LL8Q+HdsPhdloDCloizvh/NOnCwd2aRjSM36xZ0TmEO jZ10DhLJtiphuliHG6krzX1xOXsBOv5W7f4KJzEtq2SVN5FS6GI07DpG09tCn9atNtRc lvlAG05I2RF9wYUEiVdK2UxYqu8fQrldNC3z53tjzgWnh1talYrD7PeK0THmyo2+Jcdi LIFIfdrPw2FOSNjo86+sdsHMdQD+u5r+Y066Pkj8rNDneZl0Ck5lyq4bk61Wk5S1yhtr IOig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:nodisclaimer :original-authentication-results:mime-version :content-transfer-encoding:content-id :authentication-results-original:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature:dkim-signature; bh=2+bYsjeRB4H83K8KQASm9Q0JVA1Rjd3M+GjL+LC8FZs=; b=NvNHvlkMOPPdPU2nT+e9MUCPuDX4TRSzHSPmEglN6cHY+nwBZtRkRGq1FIX5pHqDOf w+OCqbPUI7TQIOrX0v3vTZD8LE1yr3hjUlFUjBwDVpbYp5nx7SdZMv04+ALmMnrCGYqr BQEDQltq8zXTlUU0xYYblYgHsFaQR+5fg40u0AyZe1jbcNf11jrXd5rRnELobMipXTyM w3vfhOKLb2fLgf89Zykr4VNoijURq0gASpi2XtaiEwUe1qpD1rwdLrSCcmKTsBmguzzT kN8Ejd7JgtpPW7WGxOss92SPIX1HNJsZoxz2NfudJimRwK796TksHqhmr4b4A+WAylK0 8V3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aS7tc+94; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aS7tc+94; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si14682128pgl.74.2019.09.03.06.47.14; Tue, 03 Sep 2019 06:47:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aS7tc+94; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aS7tc+94; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729371AbfICNqS (ORCPT + 99 others); Tue, 3 Sep 2019 09:46:18 -0400 Received: from mail-eopbgr00050.outbound.protection.outlook.com ([40.107.0.50]:10658 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727624AbfICNqS (ORCPT ); Tue, 3 Sep 2019 09:46:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+bYsjeRB4H83K8KQASm9Q0JVA1Rjd3M+GjL+LC8FZs=; b=aS7tc+94hpCznG6V96zvWbsDhrjWiovCLu2rBu19KTTYGjnOE24btYU2t5N/1leL+fBgeflOAwICv589h38lusvaFxfsqXwwCbzD5Wr+Y9CRsriRaACjWJHbaz1DHC5LjidNOxO+6cOqUiR9LKiq8hOS8ViWqOG4o8Su3olZn8U= Received: from VI1PR0801CA0081.eurprd08.prod.outlook.com (2603:10a6:800:7d::25) by DB8PR08MB4955.eurprd08.prod.outlook.com (2603:10a6:10:38::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.18; Tue, 3 Sep 2019 13:46:12 +0000 Received: from AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by VI1PR0801CA0081.outlook.office365.com (2603:10a6:800:7d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.19 via Frontend Transport; Tue, 3 Sep 2019 13:46:12 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; vger.kernel.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;vger.kernel.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT044.mail.protection.outlook.com (10.152.17.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.16 via Frontend Transport; Tue, 3 Sep 2019 13:46:10 +0000 Received: ("Tessian outbound d33df262a6a7:v27"); Tue, 03 Sep 2019 13:46:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f3234693feceb187 X-CR-MTA-TID: 64aa7808 Received: from 50d3a98a17d0.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.8.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id E1991112-D4EA-4C76-A23A-8973D821680D.1; Tue, 03 Sep 2019 13:46:03 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03lp2050.outbound.protection.outlook.com [104.47.8.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 50d3a98a17d0.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Tue, 03 Sep 2019 13:46:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OcaAB3NyW6kLAt65nWPxoQ2JZaX2ajJTuNhPDhr8uCgUPOjq1HtC9DIEnUsckqjWW/JcUq70pKUna1+2XobN81hTpw7jrV8w2Te6KPIKHu6N9QOgJurY+y5kBYi0+6ppS/a5u0hXWsODOnF/pNhwSRQM2mDRveTpOm4iSwARwb54AKXXWCqN9tcKJpk/zBLP5f/q7ZiG/YqgQ0nCawnS1JKPL7N/ZXvdThob2PLXRKBiPWg2dALxUvM9urttj20UeYiO9i6yoKTphZgifDivSY/35Y9NFtaiQDCbODe7Mxb5fmVpMd+dzI9xZ4vpqntGuraPS3yL3Ck1k92mf0iSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+bYsjeRB4H83K8KQASm9Q0JVA1Rjd3M+GjL+LC8FZs=; b=Qb1CsEUz8uyMCjxeH5iWmyU3a4oxdMKSkiujCHV+L9RbJ9CWpakau/OldenKqbc3coCEBLGl3Sd4jYwEYa/GoNhlRX0FZkrNC4HO3bvF9g0Eb8SLxIm6FRhGKx9BJjyEb+smmDqZ4xfYogIHgte3pGW5LscOIU9Mgx2hQCGjkVU4Kp+L5R2Ml0+syE/ZHUUk8Q5vBnV8XA5OeRdiT1R9UnG2IEZYICM3UnstqAaPUIDMCpgyUhFspPZiL2w3CFOI897HgbkxTtEmQwnVp8lWEvzwFoqQnAwR/kbRZ96U4tICnRq5idfqmwDOJOxB6UFKSpmaasymhY5OcgXW+x9yRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+bYsjeRB4H83K8KQASm9Q0JVA1Rjd3M+GjL+LC8FZs=; b=aS7tc+94hpCznG6V96zvWbsDhrjWiovCLu2rBu19KTTYGjnOE24btYU2t5N/1leL+fBgeflOAwICv589h38lusvaFxfsqXwwCbzD5Wr+Y9CRsriRaACjWJHbaz1DHC5LjidNOxO+6cOqUiR9LKiq8hOS8ViWqOG4o8Su3olZn8U= Received: from AM0PR08MB5345.eurprd08.prod.outlook.com (52.132.212.135) by AM0PR08MB3090.eurprd08.prod.outlook.com (52.134.90.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.20; Tue, 3 Sep 2019 13:46:02 +0000 Received: from AM0PR08MB5345.eurprd08.prod.outlook.com ([fe80::a820:853d:e981:a76c]) by AM0PR08MB5345.eurprd08.prod.outlook.com ([fe80::a820:853d:e981:a76c%2]) with mapi id 15.20.2220.022; Tue, 3 Sep 2019 13:46:02 +0000 From: Ayan Halder To: "james qian wang (Arm Technology China)" CC: Mihail Atanassov , David Airlie , Liviu Dudau , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , nd Subject: Re: [PATCH] drm/komeda: Add ACLK rate to sysfs Thread-Topic: [PATCH] drm/komeda: Add ACLK rate to sysfs Thread-Index: AQHVXZBFvBwgvZ1PNEmL4p2YP+CqdacQmt0AgAll2oA= Date: Tue, 3 Sep 2019 13:46:02 +0000 Message-ID: <20190903134601.GA9315@arm.com> References: <20190828110342.45936-1-mihail.atanassov@arm.com> <20190828141508.GA6738@jamwan02-TSP300> In-Reply-To: <20190828141508.GA6738@jamwan02-TSP300> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0284.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::32) To AM0PR08MB5345.eurprd08.prod.outlook.com (2603:10a6:208:17f::7) Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ayan.Halder@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [217.140.106.50] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 57a4a8c4-1cc3-44f1-9778-08d730751488 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR08MB3090; X-MS-TrafficTypeDiagnostic: AM0PR08MB3090:|AM0PR08MB3090:|DB8PR08MB4955: X-MS-Exchange-PUrlCount: 1 x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:415;OLM:415; x-forefront-prvs: 01494FA7F7 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4636009)(396003)(366004)(39860400002)(136003)(346002)(376002)(199004)(189003)(86362001)(81166006)(64756008)(476003)(2616005)(446003)(11346002)(81156014)(66476007)(66946007)(486006)(1076003)(4326008)(25786009)(8936002)(6486002)(36756003)(316002)(99286004)(256004)(8676002)(33656002)(102836004)(7736002)(305945005)(14454004)(966005)(478600001)(2906002)(66446008)(52116002)(66556008)(37006003)(26005)(66066001)(3846002)(6116002)(6862004)(76176011)(44832011)(6506007)(386003)(186003)(53936002)(5660300002)(6436002)(6246003)(6512007)(71190400001)(6636002)(6306002)(54906003)(71200400001)(229853002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB3090;H:AM0PR08MB5345.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: aNoory+9hmecTDwscWmU6cCYPFpFh95+vLo/DBjeBwsxi3KwAnIef+5Sym/OqUlWBS1DE6MGZbNt2sjBkDnehNpLjhH2FYuy7G4vg7cmekjLPmotGvExbB5IX8ZMLTOfkOZE1tXKe0AS0rwkSL4pqzCVZrvUtq+lXELAnEop6k0xSj1+x0mi0eMvvk6+utmW236iAm7bjDEDD6Q6ZDUTadAaSm5pXFE+LAK5F8+/MFdEdnlTUjUJe3zC4wUvndKmvhL1zcIrY8rjCDw32RMoY14xwYQQU7oygdCR9odS8qyZw2R1p08Fc8CffAxj4E1tpw/ysxi0U7yKf0p/5pZ7oDMwnQQcJbJJFW24/RsjZ0Jen3s6Bgmg0ejDqBFfQv68Yhv5TxVx2d77C1XQZZXWuBW78yMI14oxpraWB4x4jSg= Content-Type: text/plain; charset="us-ascii" Content-ID: <1B5BE7F30491A649A54770DE417F951A@eurprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3090 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ayan.Halder@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;IPV:CAL;SCL:-1;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(39860400002)(346002)(136003)(2980300002)(199004)(189003)(63350400001)(966005)(11346002)(63370400001)(478600001)(446003)(25786009)(8676002)(2616005)(81156014)(81166006)(6306002)(126002)(336012)(476003)(8746002)(8936002)(6512007)(6636002)(70206006)(26826003)(4326008)(7736002)(356004)(36906005)(76130400001)(70586007)(37006003)(54906003)(6862004)(305945005)(316002)(14454004)(486006)(5660300002)(97756001)(1076003)(22756006)(229853002)(99286004)(186003)(26005)(6246003)(102836004)(66066001)(2906002)(386003)(6506007)(3846002)(50466002)(36756003)(23726003)(46406003)(86362001)(33656002)(6486002)(47776003)(76176011)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR08MB4955;H:64aa7808-outbound-1.mta.getcheckrecipient.com;FPR:;SPF:TempError;LANG:en;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;A:1;MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 0a92c249-1cfa-449d-89b5-08d730750f37 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(710020)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB8PR08MB4955; NoDisclaimer: True X-Forefront-PRVS: 01494FA7F7 X-Microsoft-Antispam-Message-Info: SC2WNSvh6s01ezFJ58VZhvqoKB76IAfIrhy4cOuOvGx5LWdTlBjsDi8vTV0Jb+Nv79UH4melzf6+mC/a9GJWOFADyobSS93RdawcwD1KT+6XsT7ww0NWzRS2SV2sQHr0ukrk+ySrhXlrSvqRGZFvHXav8ZzAWqyB9JdXysfXlfSjVUqh3yP/xsn89hUk5fnV+3C8xGs1giZmyTR8dWt9hcBOGcb3/9V0Z6fc0XLPYdKwexF/lIo6Ax08LZbHR4z8Boy8Ay9kyLbkhXw/I/xyKTKwc4d62+BduT3duWokWObyuSYU/IZ/7rlwyH2lnGqh31HRRqFDCdB3s6fKhxPjjpQ53F0bcZb0pjmo5Cy92mHIIIWlYQR0ebuXn75rB+qEK9lS0xSYJ1bFLuJHhIXmDadkrvgZ/BYMx4i9dBLiDpo= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2019 13:46:10.9106 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57a4a8c4-1cc3-44f1-9778-08d730751488 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4955 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 28, 2019 at 02:15:15PM +0000, james qian wang (Arm Technology C= hina) wrote: > Hi Mihail: >=20 > Looks good to me. >=20 > Reviewed-by: James Qian Wang (Arm Technology China) > Pushed to drm-misc-next 5fcd055193c5d4cac6d205bd65e52c957ea057c2 And that verifies my new dim setup. :) > James. >=20 > On Wed, Aug 28, 2019 at 11:03:49AM +0000, Mihail Atanassov wrote: > > Expose node with the name 'aclk_hz' > >=20 > > Signed-off-by: Mihail Atanassov > > --- > > drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > >=20 > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/= gpu/drm/arm/display/komeda/komeda_dev.c > > index 0142ee991957..e8d67395a3b9 100644 > > --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c > > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c > > @@ -91,9 +91,19 @@ config_id_show(struct device *dev, struct device_att= ribute *attr, char *buf) > > } > > static DEVICE_ATTR_RO(config_id); > > =20 > > +static ssize_t > > +aclk_hz_show(struct device *dev, struct device_attribute *attr, char *= buf) > > +{ > > + struct komeda_dev *mdev =3D dev_to_mdev(dev); > > + > > + return snprintf(buf, PAGE_SIZE, "%lu\n", clk_get_rate(mdev->aclk)); > > +} > > +static DEVICE_ATTR_RO(aclk_hz); > > + > > static struct attribute *komeda_sysfs_entries[] =3D { > > &dev_attr_core_id.attr, > > &dev_attr_config_id.attr, > > + &dev_attr_aclk_hz.attr, > > NULL, > > }; > > =20 > > --=20 > > 2.22.0 > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel