summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-06-26 21:52:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 21:45:58 +0300
commit517fff221c1e6b8a8db69e7a440116caee120ff5 (patch)
treef8ed69f364866806bb6b3b90fe6605e2f34e4de0 /scripts/stackusage
parent47c0388b0589cb481c294dcb857d25a214c46eb3 (diff)
downloadlinux-517fff221c1e6b8a8db69e7a440116caee120ff5.tar.xz
drm/amdkfd: Store queue cwsr area size to node properties
Use the queue eop buffer size, cwsr area size, ctl stack size calculation from Thunk, store the value to KFD node properties. Those will be used to validate queue eop buffer size, cwsr area size, ctl stack size when creating KFD user compute queue. Those will be exposed to user space via sysfs KFD node properties, to remove the duplicate calculation code from Thunk. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions