Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753758AbdGXOCR (ORCPT ); Mon, 24 Jul 2017 10:02:17 -0400 Received: from mail-dm3nam03on0058.outbound.protection.outlook.com ([104.47.41.58]:8208 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753764AbdGXOB4 (ORCPT ); Mon, 24 Jul 2017 10:01:56 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Harry.Wentland@amd.com; Subject: Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function To: Ricardo Ribalda Delgado , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , David Airlie , Rex Zhu , Tom St Denis , Eric Huang , Huang Rui , Dan Carpenter , "Edward O'Callaghan" , Kees Cook , "Andrew F. Davis" , Hawking Zhang , Baoyou Xie , Masahiro Yamada , Colin Ian King , =?UTF-8?Q?Nils_Wallm=c3=a9nius?= , Joe Perches , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20170724133540.32200-1-ricardo.ribalda@gmail.com> <20170724133540.32200-2-ricardo.ribalda@gmail.com> From: Harry Wentland Message-ID: <40ac5a58-9e02-0240-ae87-0b1c9375873b@amd.com> Date: Mon, 24 Jul 2017 10:01:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170724133540.32200-2-ricardo.ribalda@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: BN3PR03CA0115.namprd03.prod.outlook.com (10.174.66.33) To DM3PR1201MB1102.namprd12.prod.outlook.com (10.164.198.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da250b22-09ed-4e52-5894-08d4d29c8984 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM3PR1201MB1102; X-Microsoft-Exchange-Diagnostics: 1;DM3PR1201MB1102;3:rwWJm+oYRdvWMrVjlYgIi1sgLnpHiG460CgK5XfZGiBiyB8cI3X9bzqCqjp/JWwayXmFvBFxZKm0hANl6jikjYpxdERQC/UJwr8jVCrehg1juJMlApDttdkeXplhoro8FvE6DZlTHN/owOMd0P1FgRvEvgzc7yDOaw+B3hjA++PgoQbr6iomntNVaMoKbYFe7auVoIwGqbojUO9pdx93ZqLW9xyym+uvNJJOTmdr9UJPGulJ7jbn3xVjCgEQa/QA1Lmzp1CXzdX3GXoR3dxhrjDFCIhT5sW4SrogfLLwUbXcFQPT51g/2ANOifkHW5ddcXsrPvxJS2kprZorzf1ctsag9npSxq59hRJwuyhoqaueQ6jBXOMLzSN5TA/Ow33pPi+Oe8cfpJSGzotZ6NBx4BrzVoU90ZATePfJXwxss5lUyWStXkJ/OThRWKe1VrQclBF7amISEIUi3+WQ9SdziBYMRCGjVWA6OATwX8SGEgc5UortjTytdmDC79/ehHWjH8ssep7tLOlFu+fF4j2RmmO5b0QSrPxrImElu0VCu646hG7hpl7W3MYepPBr24Eg18TqYmSAPttzlxVj7an36ddsTEdw/hY/0mNesVdDZ1JNqo/1SDVpxcdKASV6dp3W5Veaujhz59QLnJXm1d4ShG1uSuSBvzkTBfqWpvO5xH6TuhN5Ct2R8eduR6infBW0K32+S7GFH/+0+7AecjPeUWsK0j09/LlYfwXMFaYKAvFHNgSAOvJeURUEuWK+YjtlwWxZSpSIuOXFYDdN3DhDuw== X-MS-TrafficTypeDiagnostic: DM3PR1201MB1102: X-Microsoft-Exchange-Diagnostics: 1;DM3PR1201MB1102;25:AcGJ4hunfvh49dN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ZbEWCv/rZZkyrmlbMYk+6K/to0amtFgT5iPpNiVZpFaRcPrs X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM3PR1201MB1102;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM3PR1201MB1102; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTNQUjEyMDFNQjExMDI7NDpKd0tQMkM1R0Fzak5HVlV5NUsrZ3Zoc2Vt?= =?utf-8?B?TzBOdmZBR29FMUZDVUhxcXlmM1J4V2Jodlk2d0V4NHI3TUNKTVZzVWR5TCtM?= =?utf-8?B?cnhGaVFiT01WekJydUxydzRJdzhYcUh3NmYvdk1YMUlKZEJNQUdlZ2R3VTFI?= =?utf-8?B?ei9QZDNYeVZQZUxkM1JOVFlJTm13WDBUZUVHS0hzTVhyYS9LLzNkYVBXNHBO?= =?utf-8?B?RkFpMzhMNkMvQVpJVmdYZDJJNTQ5QUhUeGxDWHFjVzRVSUx6aVh3QVBzQTlo?= =?utf-8?B?UFhRcFpwMi93VDNkbmNxRVh6dXM0RUp1NjVJcXZvcjRXSTAzOUZTUDZDWGVF?= =?utf-8?B?UFprdFJDMXRiNk5sSlAzRFU4S0ttaXE1UE9nUXNybjJuRnErbjdpZWFneDd3?= =?utf-8?B?TDIrY2pYY3VIeEMvMUdOU0NKN2s4aXJEQ3pPNG9Ud2lkMGh6RXpyYXpPNW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U5YU0VuR3J1dXVEbXNWb2F0?= =?utf-8?B?V0NwSmMzNFpDZGJFcXI2NlROaFM3OE5CYWVjeEVIUnIzRkxJc0RuWUFRQXNZ?= =?utf-8?B?NEo2cGk0UUhCbGlDcWJHamRwMkkrM3BGVXVkTWhrZEVNVENXckZSWmRHRVlJ?= =?utf-8?B?VXh4YzhwYzRvWEFKbFlLTGZ1Q2ZYV1VyU2JKQ2pVaUxLZEhLOHpKYUloYkFH?= =?utf-8?B?R1BwbFFRVlMzYWRIY3VXVzVWSURuYStnPT0=?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6049001)(6009001)(39860400002)(39840400002)(39450400003)(39850400002)(39410400002)(39400400002)(377424004)(199003)(189002)(377454003)(24454002)(105586002)(65956001)(106356001)(54356999)(66066001)(64126003)(97736004)(230700001)(86362001)(31696002)(575784001)(189998001)(50466002)(7350300001)(50986999)(2906002)(65806001)(305945005)(53546010)(76176999)(47776003)(42186005)(6306002)(53936002)(33646002)(31686004)(6246003)(101416001)(38730400002)(478600001)(7736002)(81166006)(7416002)(81156014)(4001350100001)(77096006)(23676002)(65826007)(5660300001)(966005)(36756003)(83506001)(3846002)(6116002)(229853002)(25786009)(8676002)(72206003)(6486002)(68736007)(90366009)(6666003)(2950100002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM3PR1201MB1102;H:[172.29.238.226];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTNQUjEyMDFNQjExMDI7MjM6bm80T1I0R0pyUmFqYkIzUmVVM25OUTRH?= =?utf-8?B?c0owWUxPNGdxVXlJL0tUaVUrL3UreWwzcitZWTlFK29CY09tUGkrVHRHMXcy?= =?utf-8?B?OVFsaDR0QUMrM2JDYkk2TTRRZFA3WVl5K1lXNlJTY2J2RUdqNi9qSktveVY3?= =?utf-8?B?aFhLVHNG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XobmYy07RILlg1niDDvGlsusdycK/DcBh24ZnCFgYIQUqdwjOhWVP5L4G1rdEQYBAmNdan7bsWomtJ4JGABF+Foff0ecozVKw1e15Ijm596H3cwNc145ZbSyNphQwrdBDNc4UzpOlRUNm8bPkYSelwF6LeBqiGugsMLZrDnd5C+lWQy5pp2IHdtDE+D2aROW/iyQjiYnKr7iMg9/BBCoylTJ3mBUuRj8osbKHHeUlFECTe/Q7VakljA12KvaQgKduPCyXyQHaNeRQVY6qOufIn2iuMdhDT9s3qtEjde4lxVIy7cBo9/czZwFQ+xW8G5+88ntXB+ZQymPz0N/zI2dErS/u6ZHX96KBJtgaZYUdnkg8lwWqBOMRlXzcHUHIJ0TlHiY8yo5em0UFxBNakIXi40wvO8k8A8SwAQCD6tbnlD1Zilnsc+hHYL1jlA4p9BM8eNAKkj8lThz9RDulGDuS;24:n0kGDC/7J9AW6pwcpFuYcWeQdfsrLOykHGWmFtRCqanwUpGggVBbz6S/duj9iokTfhdUgdKbZseh1u/ANVFQ/ixxubG9jXVWLWps6AaHUbM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM3PR1201MB1102;7:p+TMsDULIB7xeMpg0Nw2Wig9gID/aDzIU68F+mUkLQ5/NEi0GPD2HrVmD9O7OT8FuZyajedx1jvlqLzxp1cIl91lp6pQVma4OORn4G/2z/ED78YYpH8vo8tezN3PkVDvWEB36m8kvgWz5YPCsgoKOrbtF/oYErTQ0IV7Nvqm+E2YOgllqP33ax/uFQTwFzfJUsnj/NEsnjvS4PdECXF/T4DyIwXtINyv0w82DvICmU97+UwfutKESz813h+g4LZgoN3WmtmDOlemoeyURqD72/bzq+Bi7mLU+vu0KIxXiQKohVm+FGxR4pd08s944dXtzFwCRvvccNrtQYKA7jYOvd9zKdiyUFt/Ai5fU84zLNrgHgdHBKCFQYPdtWfGA7utRRUTz9cIpmZSts8+a1vpQfogL53cLi74Ru27f7bAJoUDg+OcHilOdQ8DRxuZxAGtynGlsA6EApSvUJVleLxxKplT7E0w4UpLFQbhDhTQkmxPPBkYzJ6vy6sW0XybAdowoT/y5su7n8MZDiA70cmlWB1LaEM6Q/bKHBkIgMDOezSQx8eG/3t0u0IlHQ17zkQGmJdlnjfBGTz//IjXJAyaKo4FxSowLy6UJCKfRXpz9j1QHYhTbfgCX5PM8usighmgHsZn5avhnGlWPzMv8ozK+fxEESmi5SLAV6esHTSXRyFfKaW26cBpit02iZ3z0nbbrlU0sCaUbZyMsxyzDXSglTIcaEOlWLDwvlx62zPcvdp0VKaAhuUsm0yag9ni85b5KtuGLHWjL4X9sf2vrOQu2Ya6iIAYAM6JqenugtvwAa8= X-Microsoft-Exchange-Diagnostics: 1;DM3PR1201MB1102;20:b/GtE3QyVa+cQmOJVeXW4ia4Rp0s6A4JfGg2DD3ZH5BNi5EgUusSRNYdFMQJKN7wNplC9wROHVujtqNO70hnoggv+Man1bfBtKqrtAnKA6uSYW4IUtwSdqN2+mGkD/jCwN17JPP83lGqHw7ngNx9uKH4Kh2DvFFFWZsAo/aObmddc9fQ4YUf87NAFWuotLTLD2zI7k1/MXx7vqFnzVgPsZCrrc7kfcrp2b/HAYlwn2MAtLAEXDw8ysuZluPvJb3f X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 14:01:50.8296 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR1201MB1102 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2340 Lines: 64 On 2017-07-24 09:35 AM, Ricardo Ribalda Delgado wrote: > amd_powerplay_display_configuration_change is never called. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 21 --------------------- > drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 3 --- > 2 files changed, 24 deletions(-) > > diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > index f73e80c4bf33..1ee7aa5546bf 100644 > --- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > +++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > @@ -1237,27 +1237,6 @@ int amd_powerplay_reset(void *handle) > return pem_handle_event(eventmgr, AMD_PP_EVENT_COMPLETE_INIT, &event_data); > } > > -/* export this function to DAL */ > - > -int amd_powerplay_display_configuration_change(void *handle, > - const struct amd_pp_display_configuration *display_config) This is used and needed by the DC display driver. See display/amdgpu_dm/amdgpu_dm_services.c:193 in Alex's amd-staging-4.11 tree: https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c?h=amd-staging-4.11 Harry > -{ > - struct pp_hwmgr *hwmgr; > - struct pp_instance *pp_handle = (struct pp_instance *)handle; > - int ret = 0; > - > - ret = pp_check(pp_handle); > - > - if (ret != 0) > - return ret; > - > - hwmgr = pp_handle->hwmgr; > - mutex_lock(&pp_handle->pp_lock); > - phm_store_dal_configuration_data(hwmgr, display_config); > - mutex_unlock(&pp_handle->pp_lock); > - return 0; > -} > - > int amd_powerplay_get_display_power_level(void *handle, > struct amd_pp_simple_clock_info *output) > { > diff --git a/drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h b/drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h > index 07e9c0b5915d..ae49af5cc5d1 100644 > --- a/drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h > +++ b/drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h > @@ -407,9 +407,6 @@ int amd_powerplay_destroy(void *handle); > > int amd_powerplay_reset(void *handle); > > -int amd_powerplay_display_configuration_change(void *handle, > - const struct amd_pp_display_configuration *input); > - > int amd_powerplay_get_display_power_level(void *handle, > struct amd_pp_simple_clock_info *output); > >