]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Add smu feature interface functions
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 19 Jan 2026 06:30:29 +0000 (12:00 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jan 2026 17:26:41 +0000 (12:26 -0500)
commitc99d381d2dcece1cb18ae28706b12da271517dde
tree4f8d3f8a1a5f47b2482cbbf70ac6bf3c7814fd1c
parentf28b0a13865f85f216d4ac9ede75bbf8745a524f
drm/amd/pm: Add smu feature interface functions

Instead of using bitmap operations, add wrapper interface functions to
operate on smu features.

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/smu_v11_0.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c