summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDonet Tom <donettom@linux.ibm.com>2026-01-12 19:36:54 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-01-14 14:28:48 -0500
commit42ea9cf2f16b7131cb7302acb3dac510968f8bdc (patch)
tree9cb8af428aeff7041dc569d3de6ea3d50271dcab /tools/perf/scripts/python/event_analyzing_sample.py
parent318b1c36d82a0cd2b06a4bb43272fa6f1bc8adc1 (diff)
downloadlinux-42ea9cf2f16b7131cb7302acb3dac510968f8bdc.tar.gz
linux-42ea9cf2f16b7131cb7302acb3dac510968f8bdc.zip
drm/amdkfd: Relax size checking during queue buffer get
HW-supported EOP buffer sizes are 4K and 32K. On systems that do not use 4K pages, the minimum buffer object (BO) allocation size is PAGE_SIZE (for example, 64K). During queue buffer acquisition, the driver currently checks the allocated BO size against the supported EOP buffer size. Since the allocated BO is larger than the expected size, this check fails, preventing queue creation. Relax the strict size validation and allow PAGE_SIZE-sized BOs to be used. Only the required 4K region of the buffer will be used as the EOP buffer and avoids queue creation failures on non-4K page systems. Acked-by: Christian König <christian.koenig@amd.com> Suggested-by: Philip Yang <yangp@amd.com> Signed-off-by: Donet Tom <donettom@linux.ibm.com> Signed-off-by: Felix Kuehling <felix.kuehling@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions