Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4108591imm; Mon, 18 Jun 2018 09:15:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJUsMEKfLn/5MDLufykTMt7/HDhv75NlhzxUIXacGXi913gR6WSC/endioYiu3/mXRAauuz X-Received: by 2002:a17:902:1081:: with SMTP id c1-v6mr14771748pla.153.1529338557597; Mon, 18 Jun 2018 09:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529338557; cv=none; d=google.com; s=arc-20160816; b=VeEnkIByfpmAwRHZY9ztP/bE6RuTtzwTOyvQ9z3hCx9vUOFIlrQXnYyLfyyBpIDTs4 FmKIuInuI9oRJ3m57dHYB2HtYI2dYSWznH9+Ykt4OfbkQHpz+wCP4LyPLnsDBFhn2J9J xDb6RDu7dq1SsHbz7rzN3DeMceXpEf4Bc5V7VcNI/wW2HhJ8etKVcmCyeWJypLPmNkXR 0hvvBRJd4wLi+D0Y+61A/Wtyo8PKlAseujVSHPHmeeapt3fjc49hUyEqekDCl60EVneI FivnjqJ+gFphUq9q722VPCP43gOeVETgTEXsvLCo4Hb8tlugCarrvNQvdf3t6TuD04Nu yFqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=ykGgGaQWh+/MuGIKjfFzR5Nd9thEI4jmG4lEfzMld6k=; b=hN/qDGygPnf9GoLPQrAz6/OCP190HKNyLImM3BsyWaWsx8fZCCZuABBg4tfMH6LeoF tctfhg+771OUNGRfUVVEO0sbd357DBTpzpU+HmOstlNduz4hNuhES0h97LhDDlvKaidZ z8Yp7sH1j8LS73eM61gjKOIDpslXYcSZr3oR9InpmuqIRSoX+o9sd0uy5JoYEhYIl7Hi ucRN4ZY1l1pMW2Pa8odmm0ZfZeqvFqI+UGnpqreaeK0Lvsv99odgM1R7j6KtQR5+/nq1 LjZccfMLF5VwmZFYVLSjO1Y9aKYMIwN8tMqLZAQ3nc24kQ+TSD4/R+OrSyoVFOIDMjx1 WGMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=zBP2ZOcA; 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 s10-v6si5463073pfk.213.2018.06.18.09.15.43; Mon, 18 Jun 2018 09:15:57 -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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=zBP2ZOcA; 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 S934733AbeFRQNO (ORCPT + 99 others); Mon, 18 Jun 2018 12:13:14 -0400 Received: from mail-dm3nam03on0076.outbound.protection.outlook.com ([104.47.41.76]:55059 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934536AbeFRQNM (ORCPT ); Mon, 18 Jun 2018 12:13:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ykGgGaQWh+/MuGIKjfFzR5Nd9thEI4jmG4lEfzMld6k=; b=zBP2ZOcAXAmxBRVO2cfA3pB+Sk0Cf7JSQMuKDJKOH1Vm2ZyHjeW+YvMxO9VUWJzY4I27pe/PxQFlrwmJqnR29fLqx4A5BxGmErZtkFawrh747WLzAf110SpgD4FgRU41jyPB6Yy5uOZCboTq5GhfYIxx062/NwInODFu+q0QPj4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Harry.Wentland@amd.com; Received: from [172.29.157.77] (165.204.55.250) by DM2PR12MB0185.namprd12.prod.outlook.com (2a01:111:e400:50ce::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Mon, 18 Jun 2018 16:13:08 +0000 Subject: Re: [PATCH 1/2] amdgpu: display: use modern ktime accessors To: Arnd Bergmann , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , "David (ChunMing) Zhou" Cc: y2038@lists.linaro.org, David Airlie , Tony Cheng , Dave Airlie , Rex Zhu , Dmytro Laktyushkin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20180618153649.2015346-1-arnd@arndb.de> From: Harry Wentland Openpgp: preference=signencrypt Autocrypt: addr=harry.wentland@amd.com; prefer-encrypt=mutual; keydata= xsBNBFhb4C8BCADhHHUNoBQ7K7LupCP0FsUb443Vuqq+dH0uo4A3lnPkMF6FJmGcJ9Sbx1C6 cd4PbVAaTFZUEmjqfpm+wCRBe11eF55hW3GJ273wvfH69Q/zmAxwO8yk+i5ZWWl8Hns5h69K D9QURHLpXxrcwnfHFah0DwV23TrD1KGB7vowCZyJOw93U/GzAlXKESy0FM7ZOYIJH83X7qhh Q9KX94iTEYTeH86Wy8hwHtqM6ySviwEz0g+UegpG8ebbz0w3b5QmdKCAg+eZTmBekP5o77YE BKqR+Miiwo9+tzm2N5GiF9HDeI2pVe/egOLa5UcmsgdF4Y5FKoMnBbAHNaA6Fev8PHlNABEB AAHNJ0hhcnJ5IFdlbnRsYW5kIDxoYXJy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VSGE8jPIzu2Fj0E8EkDmsgS+nibqSvWXfo1v231 410h35CjbYDlYQO7Z1YD7asqbaOnF0As+rckyRMweQ9CxZn5+YBijtPJA3x5ldbCfQ9rWiTu XQ== Message-ID: <72c5bb3e-bf77-6972-a953-66a8e04b08d5@amd.com> Date: Mon, 18 Jun 2018 12:13:03 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180618153649.2015346-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: YQXPR0101CA0012.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:15::25) To DM2PR12MB0185.namprd12.prod.outlook.com (2a01:111:e400:50ce::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 11ffd2cf-ea32-418f-85e4-08d5d536623a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020);SRVR:DM2PR12MB0185; X-Microsoft-Exchange-Diagnostics: 1;DM2PR12MB0185;3:uyGMQUL/cw2jgQsphfTdK4jsMMPftnwsB++z+WpcYRBwVM4KIX9945++wOHutRVdzz/TA7PlnfWu150ajktLUsgVApuNyIA0c6vUn2VUqm636OhO73X2gsS8H2brJEm+5DT9ynqQGS7pvBzszmzdR6Ban4QdiKhj5s/mxtDcO2bOoI/PMXW37ASFMA7uZFGCeaufdZNv+OBnFCc+efrVCO7lRapRyUELs7bWDJvKYxkzQK10Y0ao3pfnRr1K2Idb;25:to564bgemPX0819x7LUM4ma+hmZ1fFjzwx4BLlBFxd7VeErH8ENOLDGUxSTI5c9VjcQyTQKSO6vL7QRKkCF+4U1frEnLMyFjEXk6MX9sC2ZIdekjt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rax68rM1nh8j1BZqgkQeQ5KMAC4o4smyOg52ts7hL1UeJIXuGFWlrEr+qHFca8MICMRQa2qK3QDzGrYAW3QrVMqq5idq606L61uj/tOgg1TZTKITWb3CVYUK/wJemhovJsLbkIjZVzKvS1Gg+STgpE3M+u/vdKftsxLd4UzANt9rwu7qqUJO5nEjeodz054P7LXEm+5hF3pcc/X40NVz3ZgGU0x3KSt5Cg9mkoLq7Qscti7Vvji99BMOFfuFSRhuVCfzd9IGdrpnraMCEbwK99Hcnv4ASdMpqWEYBgDgWEyvFD8LzyEw X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:DM2PR12MB0185;BCL:0;PCL:0;RULEID:;SRVR:DM2PR12MB0185; X-Forefront-PRVS: 0707248B64 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(376002)(396003)(366004)(346002)(39860400002)(39380400002)(189003)(199004)(6636002)(6666003)(36756003)(11346002)(446003)(5660300001)(64126003)(956004)(77096007)(26005)(6486002)(486006)(229853002)(65826007)(476003)(2616005)(305945005)(31686004)(44832011)(316002)(58126008)(110136005)(7736002)(186003)(76176011)(54906003)(52116002)(50466002)(52146003)(2486003)(23676004)(16576012)(386003)(106356001)(105586002)(53546011)(16526019)(25786009)(81166006)(81156014)(8676002)(68736007)(3846002)(6116002)(65956001)(230700001)(53936002)(8936002)(2906002)(66066001)(72206003)(4326008)(86362001)(47776003)(478600001)(31696002)(65806001)(97736004)(6246003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR12MB0185;H:[172.29.157.77];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTJQUjEyTUIwMTg1OzIzOjRQUGY1U3FmS0czeE1WUVBHVGtMNHI3Um0x?= =?utf-8?B?cHhWVGZPS05Gd1NQNS95RnVuMjNhK25sY0FDV1AycE5DWENqNXlGSkNpd3k0?= =?utf-8?B?NXExUnVCRzZsQUQyRk5IcEhydXNDUWYrUmdteGVnSHEyZGw5SnJvUUtsem1Q?= =?utf-8?B?ekxUVkN5aVUyai84UE01YWp5ZW45ZUU1em9LS3AzUzd4N1A0TmViSzVKcFc3?= =?utf-8?B?S0twUWdUaTF0WU92N1FNbldlcU54eENDNTZUWStwZHJiQVN5RUFnOEd3eWpL?= =?utf-8?B?UExYS0NhenE5dE52cmJpdi9TUWZHVnFuM2tGZWZ5VEJqYWppeUtUQUpJTlB0?= =?utf-8?B?YmlHT00rWTlSZWV3azdDWGk2ajdRaWpwVm5aSG40YzZRQ1Y2SklJTURRMVpZ?= =?utf-8?B?djFGNEVYSFFpbmVjVGthN2dDVVY3cWQ3bW8zbW5aaUVlTnVUcnFqeUdrSTBz?= =?utf-8?B?RjA0YmNtUUhidXVyOFlydW80bDJ1dU9jekZFSXBNbW5rSEFzTXpIRVllMGFT?= =?utf-8?B?MlBIcWlLYzMxbFVlT1dNMkZRUTVqd0RMeXVXbGhubUZFbE82V3AzS1YwUEJo?= =?utf-8?B?OGdaM1E1eU1EMExNVWtIb3l3cTJsWVBpMzlZZFpPdWUzWEhaSjQ1VFRPZFhG?= =?utf-8?B?emNhaGN0VmVJb2g4dmRmdWtPNmdzd3RKWDh4SGkvMnBETitlMU1Iam81YWJI?= =?utf-8?B?L1BoM1RNZUlFUVZjNG1Jb1VIcW9lZTE5VS9TSkpUQk45NkdFd3hMVWtVdWlq?= =?utf-8?B?UmNsaE55WVoxNURmL3VmRkF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TAT/h4DNLD+BNbCtKLwo3naXskX54KuADf/wTA/a5YT2B3osBrVww31Ct7QMP5Su X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2018 16:13:08.5218 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 11ffd2cf-ea32-418f-85e4-08d5d536623a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0185 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-06-18 11:35 AM, Arnd Bergmann wrote: > getrawmonotonic64() is deprecated because of the nonstandard naming. > > The replacement functions ktime_get_raw_ns() also simplifies the callers. > > Signed-off-by: Arnd Bergmann Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 8 -------- > drivers/gpu/drm/amd/display/dc/dm_services.h | 5 ++++- > 2 files changed, 4 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c > index 5a3346124a01..e861929dd981 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c > @@ -35,14 +35,6 @@ > #include "amdgpu_dm_irq.h" > #include "amdgpu_pm.h" > > -unsigned long long dm_get_timestamp(struct dc_context *ctx) > -{ > - struct timespec64 time; > - > - getrawmonotonic64(&time); > - return timespec64_to_ns(&time); > -} > - > unsigned long long dm_get_elapse_time_in_ns(struct dc_context *ctx, > unsigned long long current_time_stamp, > unsigned long long last_time_stamp) > diff --git a/drivers/gpu/drm/amd/display/dc/dm_services.h b/drivers/gpu/drm/amd/display/dc/dm_services.h > index 4ff9b2bba178..eb5ab3978e84 100644 > --- a/drivers/gpu/drm/amd/display/dc/dm_services.h > +++ b/drivers/gpu/drm/amd/display/dc/dm_services.h > @@ -339,7 +339,10 @@ bool dm_dmcu_set_pipe(struct dc_context *ctx, unsigned int controller_id); > #define dm_log_to_buffer(buffer, size, fmt, args)\ > vsnprintf(buffer, size, fmt, args) > > -unsigned long long dm_get_timestamp(struct dc_context *ctx); > +static inline unsigned long long dm_get_timestamp(struct dc_context *ctx) > +{ > + return ktime_get_raw_ns(); > +} > > unsigned long long dm_get_elapse_time_in_ns(struct dc_context *ctx, > unsigned long long current_time_stamp, >