drm/amdgpu: validate the parameters of bo mapping operations more clearly
authorjsg <jsg@openbsd.org>
Mon, 29 Apr 2024 06:35:53 +0000 (06:35 +0000)
committerjsg <jsg@openbsd.org>
Mon, 29 Apr 2024 06:35:53 +0000 (06:35 +0000)
commit51c13bbe38b92f2e1b530b19030b94331d061ca1
treead107e6e16eba4d8953890351e1f40d78b2bfe43
parentb658665ff8427ba55fae312d744889f241d00e34
drm/amdgpu: validate the parameters of bo mapping operations more clearly

From xinhui pan
ef13eeca7c79136bc38e21eb67322c1cbd5c40ee in linux-6.6.y/6.6.29
6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c