]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/pm: Add default feature number definition
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 19 Jan 2026 13:02:19 +0000 (18:32 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Feb 2026 21:46:20 +0000 (16:46 -0500)
commitda8c276035494e86f2cfda7afd92c3202c4c0997
treef54cecd182daa41ec37ddf81f0d432cc7e27242b
parent7b88453a476c9770c094c1f596e0b9fee208e65b
drm/amd/pm: Add default feature number definition

The number of default features could be different from the actual width
of the bitmap. Use a different definition for it. Also increase the max
width of bitmap to 128.

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