summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mauro.chehab@linux.intel.com>2023-11-22 14:38:23 +0000
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:45:13 -0500
commit4e03b584143e18eabd091061a1716515da928dcb (patch)
tree45c115663f1e46c782246034d33d87d07ab50850 /lib
parent2bec30715435824c2ea03714038f0ee7a4b5c698 (diff)
downloadlinux-stable-4e03b584143e18eabd091061a1716515da928dcb.tar.gz
linux-stable-4e03b584143e18eabd091061a1716515da928dcb.tar.bz2
linux-stable-4e03b584143e18eabd091061a1716515da928dcb.zip
drm/xe/uapi: Reject bo creation of unaligned size
For xe bo creation we request passing size which matches system or vram minimum page alignment. This way we want to ensure userspace is aware of region constraints and not aligned allocations will be rejected returning EINVAL. v2: - Rebase, Update uAPI documentation. (Thomas) v3: - Adjust the dma-buf kunit test accordingly. (Thomas) v4: - Fixed rebase conflicts and updated commit message. (Francois) Signed-off-by: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions