mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
drm/amd/pm: Remove unused smu_mode2_reset_is_support
smu_mode2_reset_is_support() was added in 2020 by
commit 5c03e5843e ("drm/amdgpu:add smu mode1/2 support for aldebaran")
but has remained unused.
See discussion at:
https://lore.kernel.org/all/DM4PR12MB5165D85BD85BC8FC8BF7A3B48E88A@DM4PR12MB5165.namprd12.prod.outlook.com/
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f6da61b956
commit
da471b8b77
|
|
@ -3432,19 +3432,6 @@ bool smu_mode1_reset_is_support(struct smu_context *smu)
|
|||
return ret;
|
||||
}
|
||||
|
||||
bool smu_mode2_reset_is_support(struct smu_context *smu)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
if (!smu->pm_enabled)
|
||||
return false;
|
||||
|
||||
if (smu->ppt_funcs && smu->ppt_funcs->mode2_reset_is_support)
|
||||
ret = smu->ppt_funcs->mode2_reset_is_support(smu);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool smu_link_reset_is_support(struct smu_context *smu)
|
||||
{
|
||||
bool ret = false;
|
||||
|
|
|
|||
|
|
@ -1621,7 +1621,6 @@ int smu_get_power_limit(void *handle,
|
|||
enum pp_power_type pp_power_type);
|
||||
|
||||
bool smu_mode1_reset_is_support(struct smu_context *smu);
|
||||
bool smu_mode2_reset_is_support(struct smu_context *smu);
|
||||
bool smu_link_reset_is_support(struct smu_context *smu);
|
||||
int smu_mode1_reset(struct smu_context *smu);
|
||||
int smu_link_reset(struct smu_context *smu);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user