Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938627AbcJXJfx (ORCPT ); Mon, 24 Oct 2016 05:35:53 -0400 Received: from mail-by2nam03on0065.outbound.protection.outlook.com ([104.47.42.65]:37824 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753615AbcJXJfu (ORCPT ); Mon, 24 Oct 2016 05:35:50 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; Subject: Re: [PATCH 1/3] drm/amdgpu: change function declarations and add missing header dependencies To: Baoyou Xie , , , , , , , , , , , , , , , , , , , , References: <1477126107-2466-1-git-send-email-baoyou.xie@linaro.org> CC: , , , , , From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: Date: Mon, 24 Oct 2016 11:35:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1477126107-2466-1-git-send-email-baoyou.xie@linaro.org> Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [2a02:908:1251:7981:4da8:5491:dc81:6ade] X-ClientProxiedBy: VI1PR06CA0007.eurprd06.prod.outlook.com (10.162.116.145) To CY4PR12MB1304.namprd12.prod.outlook.com (10.168.168.141) X-MS-Office365-Filtering-Correlation-Id: 4abe132f-d343-41d2-c7dc-08d3fbf122b0 X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1304;2:7D9I/fxMmgGKWTqhUNNh7bAOMwTiH3itAQZPFxe7btQTU7wlk9Hpu+C332TCMo1foV//TVKor4Bvy94bOKvUZazuKJHClNcK4fETZIud7V4qGJpaVI40gD438bQpnXbIABgyQAouuigk0s4mEiQfiHSYpBHRdkk9DR9HVpBQtnhgT8UaSnZ2ywuLoOspCqkPaZy5wdVWdaWU9mOgE85knA==;3:pZee51XF/wtjamA//fmpFLbtC0KId8dOMKNS5E/HL/wVTGCGGB0ggfpxDcBOMjEUkLQLggzqx6uosy2O9/oiTG7uvlSNXLE9JTi3ys9FqihpZs5Ihpe6PFcatAkY0Cwj92eipOX6o3OOzqbmB7gspg==;25:9coVYsxo1uF3dUIMTSrK3Ls5b7k2XMOguknrs3Ee2L3UxskO7kzZuX4H4vwVjDrbZsT0yMwDNLFanIrdhEY6FSuG7mst3JiMJIHY1QPLrCH1ndW/KWPCtTH+rMPclZK3UvDlYIjlW4sEsxz/JkepVt9JH0MakGVgNcTrASP6g75RUnkgkLj7uxUhct0uzAPKNBjPQsxAvKf/OmxiZ8j7PURpllC4/jGcCyOlTmQfZRTMOYCs+ksqbIKcVQgJO7rKdnZh1dhaoY4T6TUYd2D5SIjwwLCVfTiwpvpFDXsMwKe7/0G+Y/cQCCmgINTaD5pHwk5f0E4ZKcw3EI7SR0WGfwRuWZGjR4pSV7vZFK7yo3w17llEtQNG3l/kDUlQgKR4HDlIdwJ3ERvVuOLGsba57wF+LOhtY9yDsQsTR1/1GaUkS6h3fH0ZlGGy2cY8MCRD X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR12MB1304; X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1304;31:pB2S0TxTbY23q/5nNbrkZ1jTn5Bp7iUZxq2dlLtm9sqLH9ycMDabLs+5L60PbqLUcazw3BSw2ZLr44LGHZcUzTmRpGAgLOJYa7NxA+9aAA1yMf9wzdBXnfIYRWwqMO3cZj3ba16ZriBAOyjuMyNdPCGKlNQVrHYyJNWLlrUTQyiEUALd5wKiyNrFzkK3Zirg3AKJCa7pYq5dyhjkpQDWtemGqvBw2VZYGZfOGS3TsOm3NeKCf4Y+SWl9+OQEK7+h;20:rM/7pCsNOO/wOv3Wqw4A2Y+nBXyX2KSJBrImJOcO1/1p5SpDErHHLh/0okED1pu8S/3JPvpeolVBQptxN140JZei+pQ63G94iWgY3TuJPm/GQSCn7Iq1axvBardkYS7Et2h4uVNfH9NId/MlVw3bfLDvZoucKro+fnq4W/KpgNtu6qjiJnBOb7AWGYChc+daUSTTbWUXZ1HbV1cOr48HndGgmMXLzJk8oGGtZvlBj/D5AZcZ0j5JuQHPEhGDJwTf21vNGKOtTWdKdC32/WC/g019nEtAcsxulrJJwEyiEUSu3oDrENkESSLyuvIv3om3f0HCR/omNBMbPfP1ximz0ODpDSNZHzlm3qG7OeWq4jeNqw6iL8KJMSW6n49sy9YMJRAkyVajT2ZxQt1ap8f7ksShudobrJtphoXK7mPjbc7VItyOpJjQLqOdR6BAyvFfXVUAIt1yi54X7Q7TClIbuAiFJkqU4Q4Q5LT1FLicj7IRDnjtpaHMT00n//RQ3blG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:CY4PR12MB1304;BCL:0;PCL:0;RULEID:;SRVR:CY4PR12MB1304; X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1304;4:x1M4RQm7GHUhTIGY//hOq886HuZbBXZvZcK2V+XWCu8/D0mFTcxg6rv30ZHU3YLTMY5uIrUMY5uP7XXnSUGOufXBySloCquyWJPOZRrtnxu43jOcoaji5ZFYdZK1UK1L1k3AyqL7tBr+gjW0jlKqJ0GWmDfLmAqG43p22VV195ImnsRxEb2+A9KV6JnzXDRyzZh7hvXWKbpmlZLmENSeSj8qWwYWqrirTnCr4rulR8YeEaPcWwmZVIR2Qg0bJA9sWY1z2FJTn3dAg5lKHi/vwAToh3Lde59HVwdBKXKEJL0VsW2c6Dza4kVp7RSvs1l3MIiCjL26zoI5nmGyaca+8NjXImG96ZVnYXTC3YFIpjXk33xsIZrQ4BkvKg/ul4R+j4BQ7RCeJvuip9R9Tobo7+BzVBG3mlek6cEIRwShQbfGbwKL0LvteLPMNTMeUJGGtpM6OC5tOdLiKZ/0o1Zu5HlU04xFfrBhhRYNTGkxDMXkS1hzhfZKUf+v01oQqgXu X-Forefront-PRVS: 0105DAA385 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(305945005)(36756003)(7416002)(76176999)(47776003)(7846002)(54356999)(65806001)(2906002)(65956001)(50986999)(6666003)(19580395003)(2950100002)(77096005)(189998001)(4326007)(586003)(86362001)(7736002)(4001350100001)(2201001)(65826007)(5001770100001)(97736004)(1706002)(6116002)(92566002)(31696002)(101416001)(31686004)(8676002)(42186005)(105586002)(83506001)(106356001)(5660300001)(64126003)(81166006)(81156014)(23756003)(19580405001)(33646002)(50466002)(2870700001)(68736007)(921003)(3826002)(83996005)(2101003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1304;H:[IPv6:2a02:908:1251:7981:4da8:5491:dc81:6ade];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?iso-8859-15?Q?1;CY4PR12MB1304;23:3/ugq7X1mc5mRqppg5mBpTKgmSIuFsmbemo2vo?= =?iso-8859-15?Q?FSpx0az325AvZNDH0yczWaWKnfdMVRK9p8mQsTdWdDPSiOBq7OQZMmxwq?= =?iso-8859-15?Q?j70SX+CUgJMPitbygG9jUu9ixZlShvBvqsEPZdbuNVN+n6p7omvy4Oo2R?= =?iso-8859-15?Q?fldaVWzsS3/uB7o8aJMboiG45wVq01g4ElgOLcPvJ0XFXo/HQjLMFGBcR?= =?iso-8859-15?Q?EnRNnEdTRw8a30g9ZJ5uH5GX7xXgsm0aI0xAXZmK6pa+9AJ8Ut0oMJ05W?= =?iso-8859-15?Q?wybqRkHENmhqT3kXkNPNrdDibhQSoyg4Y4imF9UOj6KtX3HM4a4VgxLoD?= =?iso-8859-15?Q?vDQsHKs1Q26qfcSX0IebBQDhbaO5lzloVoa1j5xal6yOVFEIJs5mn6+8M?= =?iso-8859-15?Q?JG/sJp6dbmCvd5hWiOVuOgFI37b+r0pAR+2naCHm+ukbeeeqaNsfH/Yv7?= =?iso-8859-15?Q?UTrWYOibUTI4utxe5tj0HsVHgpjq4cpcMiXEC2UNFxBYno5/g8lMKpUot?= =?iso-8859-15?Q?2AUoSrmPa4MwYeK/dSKuXCNFGtaPi5xtmBD3UHK7r3/0RZdJN9e8eCwl0?= =?iso-8859-15?Q?Y4xz86WFdfPZG/KrWPoyi1EjhFKMERHYlLI4qpKxLa2jyoN9Pw6ynPx3H?= =?iso-8859-15?Q?yDEH/7cbhdxrRfALEP/2916cktnCGY2guob7trrRhnNUDlj6sG8af36nK?= =?iso-8859-15?Q?9IhNGOy0EhNzkfv94eBboBeaYqHJDX8LQF4A/y8YOUpbdZ0iFoCViQr/e?= =?iso-8859-15?Q?z+CKpjmuHwcHDalXPVyNPVpBLNctGNt3x2eIDAXRyY1TwBrx7Whg6ZT5V?= =?iso-8859-15?Q?cD11U+ZLai6WSyBKqtRszR2s+BDF2uSafmQ7xF0IroWtTVFjwF5MCBka8?= =?iso-8859-15?Q?yVoJX0b/eghJxQ+qiz0RuzoupU2N1Z1Kq0bG9VP7xw5+NMnqaP0waIjoo?= =?iso-8859-15?Q?s0ExEdrFsF1TX4EyNBggzoGV51VHQ78JsRzBBm1SG/EQjMgtxay8ZihK/?= =?iso-8859-15?Q?HgycTdUw7SVcWncc8UbuhY/00EPEECH/vyiom+SPFYd3clHjxzg/xBM49?= =?iso-8859-15?Q?FdwUN3RHnf0bQyjjegy4R69HoLNmtNofCHk8g4pxEDc3qmDm/ppdANcq8?= =?iso-8859-15?Q?hg20z6GtTYihIO1pLszPAJ1YwAONnHN5sYD8EtoKDl9e76z/uYGNKsTVl?= =?iso-8859-15?Q?UIP4cPK1uExduUUIJtO2zSa2wxuuBPjHqvyTVVEltey1fX9QsML7+p6nM?= =?iso-8859-15?Q?XYwze+FlISFv8xHxJ7m3l1vgz9lxO4ukW2Z9Qepyguh/DMiiqxFVM6a/v?= =?iso-8859-15?Q?z5/EZ8sZySldIMmDSTwq/ITW/huqndn6Z+UZNfNwpA89UmbH1sl571lKb?= =?iso-8859-15?Q?6ZP08nXD3ikZfp3Cn1LSuVsUliirfGoNeXAqSbe9h4sK94VU4zuOeKfin?= =?iso-8859-15?Q?/XoCBx5y5JqwZPtmCqWtNA7AlFOTo1CUaIXLJg=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1304;6:seR/0ZAhI0k+MIo8BWXyAtLb7nNmYMEBf0pPmRVgnpCfpQ+g6wB35uw/UoCEejzivxCMZpZPfDtdsJk4s+g/7YqBx1Ozs23kzSlpthiZtiBEKlWJK3y+Xi0QFdzSDfEBfoQqKdJQ0pfzKq8VK4wosX6a3Ci0OlQ43FQKuq4ziMtA/8BLl74+kT9dmsFto17roCc3dDi/QQHZqJdzrAY/yN5EQu3oX7PbBS3vRsb3esTfSDXKtQuz2M3rLrCGiSn59YVjlFmW/SFhCbJchv4ycWpnnWlJ18dBIPEwWFEREJCG25IMEgz/fwccfihmGRZdsuleYC7ob8nfoYQhw+h6mumTEcsiHtD39D2F8J5GjiQ=;5:JpxtU7Fl39ARzJi+dOLh3NuYZ3BJz6A8ji3cRyxrRC3K4til1edX+0lT9Nel9Fyidpw7RktHzhD1H4g6Kbp5SG1MiWlq/zOq7zpTDAwlRuzuylnwfQThikUkrLWBEN/L6JT6AVc8AV+4zuBAeXZBAQ==;24:l9r579Mx/nCP6+qFkuNpzVBssZxE35eg2294lGuO59cIxbxJ/t4BoSj1iNqZ0GuDHbFYU3gy2qyQZtHkPehr++fVWuny33r+SM3PV0Gq5dk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1304;7:khOW+RMXvXtVKzxMyYlqKRTk/NlCseXtpwu1qn06Q29u2JbTMATwWUTI3CUMvgjari1G9hVbiCyFPr2SC2NitJyFdzsvnv05b8KOC96hCUIq1zdwsrvpRIgbG6UdP7p+IWqpLAfFhaIR9wNy9a7di5xowSuqExQk6c5HHworkKDAOjOB4vXPf+ygXunjibMetuaCjcmPbkIa0uLSi/XfEe65vrawySrqjQ3JLVhPzOmqyu5TQWlS3PKC8JanrIhoNbStnfC+ZnqkqchmFxUf68ZmvG/fhcKTKZBJ6SaqrSLSGaLTYMWX5aVD5DDlgkZDXApQrbLNQeJPeHpFdQ/z6RimcqbhPSsE2aVBaiMhxuQ=;20:JIeiJ8xj/kuvnaz9UGB4fUmLg21enjJPA7rM/nDxx1LVa/vmY7RrLJ9bd7HLKgUbZNSv54YB8g6BCRAJsWwtnDb/UShw26U+lcKNa1o2PKOWbz0NoW27bnBq5jTxG7robFU0Yi0ERwW2Bv/ebSruaGeuBhoY/sQsr+UpBKnB4HX1MfOPFJkUsfLEgiwXeJqwrHx81MFfTRJJGLWTLgx7CKCYB4Pg1yrp1c8cy7swiu0eWQB9J7T29Ew/mt1EeDun X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2016 09:35:42.4508 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1304 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6411 Lines: 156 Am 22.10.2016 um 10:48 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:38:6: warning: no previous prototype for 'amdgpu_atombios_crtc_overscan_setup' [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/dce_v8_0.c:661:6: warning: no previous prototype for 'dce_v8_0_disable_dce' [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:40:5: warning: no previous prototype for 'amdgpu_gfx_scratch_get' [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:62:6: warning: no previous prototype for 'amdgpu_gfx_scratch_free' [-Wmissing-prototypes] > .... > > In fact, these functions are declared in > drivers/gpu/drm/amd/amdgpu/atombios_crtc.h > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h > drivers/gpu/drm/amd/amdgpu/dce_v8_0.h > drivers/gpu/drm/amd/amdgpu/dce_v10_0.h > drivers/gpu/drm/amd/amdgpu/dce_v11_0.h > drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h. > So this patch adds missing header dependencies. > > By the way, this patch changes declaration of amdgpu_gfx_parse_disable_cu() > to subject to its implement, and clean three function declarations > in pp_acpi.h up. > > Signed-off-by: Baoyou Xie Patch #2 and #3 of this series is Reviewed-by: Christian K?nig . The powerplay part is developed by a different team inside AMD, so it would be nice to split that change in a different patch and CC Rex.Zhu@amd.com on it. This is only nice to have, so feel free to add an Acked-by: Christian K?nig on the current version of the patch as well. BTW: Any objections to add Rex into MAINTAINERS for the powerplay component? The rather extensive TO list on this trivial patch shows that we clearly need to better delegate responsibilities, otherwise people will sooner or later start to CC half AMD on fixing a typo :) Regards, Christian. > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 1 + > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 ++- > drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 1 + > drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 1 + > drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 1 + > drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 + > drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 1 + > drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h | 9 +++------ > 8 files changed, 11 insertions(+), 7 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > index a074edd..01a42b6 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > @@ -24,6 +24,7 @@ > */ > #include > #include "amdgpu.h" > +#include "amdgpu_gfx.h" > > /* > * GPU scratch registers helpers function. > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h > index 51321e1..abd9432 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h > @@ -27,6 +27,7 @@ > int amdgpu_gfx_scratch_get(struct amdgpu_device *adev, uint32_t *reg); > void amdgpu_gfx_scratch_free(struct amdgpu_device *adev, uint32_t reg); > > -unsigned amdgpu_gfx_parse_disable_cu(unsigned *mask, unsigned max_se, unsigned max_sh); > +void amdgpu_gfx_parse_disable_cu(unsigned int *mask, unsigned int max_se, > + unsigned int max_sh); > > #endif > diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c > index f7d236f..8c9bc75 100644 > --- a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c > +++ b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c > @@ -31,6 +31,7 @@ > #include "atom.h" > #include "atom-bits.h" > #include "atombios_encoders.h" > +#include "atombios_crtc.h" > #include "amdgpu_atombios.h" > #include "amdgpu_pll.h" > #include "amdgpu_connectors.h" > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c > index 4108c68..443b35f 100644 > --- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c > @@ -31,6 +31,7 @@ > #include "atombios_encoders.h" > #include "amdgpu_pll.h" > #include "amdgpu_connectors.h" > +#include "dce_v10_0.h" > > #include "dce/dce_10_0_d.h" > #include "dce/dce_10_0_sh_mask.h" > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c > index f264b8f..d58638c 100644 > --- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c > @@ -31,6 +31,7 @@ > #include "atombios_encoders.h" > #include "amdgpu_pll.h" > #include "amdgpu_connectors.h" > +#include "dce_v11_0.h" > > #include "dce/dce_11_0_d.h" > #include "dce/dce_11_0_sh_mask.h" > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c > index 5966166..dd5838c 100644 > --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c > @@ -31,6 +31,7 @@ > #include "atombios_encoders.h" > #include "amdgpu_pll.h" > #include "amdgpu_connectors.h" > +#include "dce_v8_0.h" > > #include "dce/dce_8_0_d.h" > #include "dce/dce_8_0_sh_mask.h" > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c > index 1944d28..f5e8fda 100644 > --- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c > +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c > @@ -25,6 +25,7 @@ > #include "linux/delay.h" > #include "hwmgr.h" > #include "amd_acpi.h" > +#include "pp_acpi.h" > > bool acpi_atcs_functions_supported(void *device, uint32_t index) > { > diff --git a/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h b/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h > index 3df5de2..8fe8ba9 100644 > --- a/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h > +++ b/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h > @@ -21,9 +21,6 @@ > * > */ > > -extern bool acpi_atcs_functions_supported(void *device, > - uint32_t index); > -extern int acpi_pcie_perf_request(void *device, > - uint8_t perf_req, > - bool advertise); > -extern bool acpi_atcs_notify_pcie_device_ready(void *device); > +bool acpi_atcs_functions_supported(void *device, uint32_t index); > +int acpi_pcie_perf_request(void *device, uint8_t perf_req, bool advertise); > +bool acpi_atcs_notify_pcie_device_ready(void *device);