]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: don't allow userspace to create a doorbell BO
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 19:03:55 +0000 (15:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Aug 2023 18:48:07 +0000 (14:48 -0400)
commit6be2ad4f0073c541146caa66c5ae936c955a8224
tree8cfa7fa4b21e0ba4350022edc9619e2a32402ffe
parent80e28aaf93db246c7eb0fb6430d1ba2b140d63b5
drm/amdgpu: don't allow userspace to create a doorbell BO

We need the domains in amdgpu_drm.h for the kernel driver to manage
the pool, but we don't want userspace using it until the code
is ready.  So reject for now.

Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c