aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2024-06-26 19:03:05 +0000
committerAlex Deucher <[email protected]>2024-07-24 18:46:06 +0000
commit629568d25fea8ece4f65073f039aeef4e240ab67 (patch)
tree29686a45dde1e06605ec985c18cb3e20a4c311d4 /drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
parentdrm/amdkfd: Store queue cwsr area size to node properties (diff)
downloadkernel-629568d25fea8ece4f65073f039aeef4e240ab67.tar.gz
kernel-629568d25fea8ece4f65073f039aeef4e240ab67.zip
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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_encoders.c')
0 files changed, 0 insertions, 0 deletions