summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-06-26 22:03:05 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 21:46:06 +0300
commit629568d25fea8ece4f65073f039aeef4e240ab67 (patch)
tree29686a45dde1e06605ec985c18cb3e20a4c311d4 /scripts/const_structs.checkpatch
parent517fff221c1e6b8a8db69e7a440116caee120ff5 (diff)
downloadlinux-629568d25fea8ece4f65073f039aeef4e240ab67.tar.xz
drm/amdkfd: Validate queue cwsr area and eop buffer size
When creating KFD user compute queue, check if queue eop buffer size, cwsr area size, ctl stack size equal to the size of KFD node properities. Check the entire cwsr area which may split into multiple svm ranges aligned to granularity boundary. 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/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions