[PATCH] drm/amdgpu/pm: Don't show pp_power_profile_mode for YC and later APUs

Alex Deucher alexdeucher at gmail.com
Sat Oct 30 14:41:08 UTC 2021


On Fri, Oct 29, 2021 at 11:49 PM Lazar, Lijo <Lijo.Lazar at amd.com> wrote:
>
> [Public]
>
>
> Instead of ASIC check better to do the check based on ppt_func->get_power_profile_mode. If function is NULL/not implemented, drop the attribute.
>

The pointer is always there at the subsystem level.  E.g.,
smu_get_power_profile_mode()

Alex

> Thanks,
> Lijo


More information about the amd-gfx mailing list