]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Initialize allowed feature list
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 19 Jan 2026 06:49:40 +0000 (12:19 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jan 2026 17:26:48 +0000 (12:26 -0500)
commit0d9a49a2ce4738bb802cfc0c9ca5abdecd36e96e
tree14a573eb10c90b256f77d9de1277661f7d0c1cfa
parent156c0ab1de4e917b106deb63cd7583fa45d7ce29
drm/amd/pm: Initialize allowed feature list

Instead of returning feature bit mask of allowed features, initialize
the allowed features in the callback implementation itself.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu_internal.h