diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-05 22:02:37 -0800 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-23 09:23:41 -0800 |
| commit | 08fe1b5166fdc81b010d7bf39cd6440620e7931e (patch) | |
| tree | 1e82337aa6be79a43987d7e3c1acf799ae8955d8 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c17ee635fd3a482b2ad2bf5e269755c2eae5f25e (diff) | |
accel/amdxdna: Remove buffer size check when creating command BO
Large command buffers may be used, and they do not always need to be
mapped or accessed by the driver. Performing a size check at command BO
creation time unnecessarily rejects valid use cases.
Remove the buffer size check from command BO creation, and defer vmap
and size validation to the paths where the driver actually needs to map
and access the command buffer.
Fixes: ac49797c1815 ("accel/amdxdna: Add GEM buffer object management")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260206060237.4050492-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
