]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/pm: Add debug bit for smu pool allocation
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 7 Mar 2025 05:41:23 +0000 (11:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Mar 2025 19:56:13 +0000 (15:56 -0400)
commitab6893402aeeaea8500d6bc86efccc2143c14df1
tree24c21d043e7969b8b12543e7b4fa8df8b38d79bb
parent3b669df92c8531040063c78e03e0509d3a5f40b8
drm/amd/pm: Add debug bit for smu pool allocation

In certain cases, it's desirable to avoid PMFW log transactions to
system memory. Add a mask bit to decide whether to allocate smu pool in
device memory or system memory.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c