diff options
| author | Lijo Lazar <[email protected]> | 2025-06-12 12:13:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-18 16:19:19 +0000 |
| commit | b49e3d7ca71aaf1e3412d41522a11a56563799b5 (patch) | |
| tree | dbb82d5663128b10ed3e8a31b8fddd1384ba6cb5 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | |
| parent | drm/amd: Allow printing Renoir OD SCLK levels without setting dpm to manual (diff) | |
| download | kernel-b49e3d7ca71aaf1e3412d41522a11a56563799b5.tar.gz kernel-b49e3d7ca71aaf1e3412d41522a11a56563799b5.zip | |
drm/amd/pm: Use pointer type for typecheck()
typecheck creates local variables based on the type passed. That could
result in stack frame size warnings like below in certain configs:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c:2885:1: error: the frame size of 8304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
Checking against the pointer type is sufficient for the purpose of
getting a diagnostic message during build time.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Tested-by: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h')
0 files changed, 0 insertions, 0 deletions
