]> git.dujemihanovic.xyz Git - linux.git/commit
drm/xe: Remove useless mem_access protection for query ioctls
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 22 Feb 2024 16:39:33 +0000 (11:39 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 26 Feb 2024 14:06:45 +0000 (09:06 -0500)
commitf9d9f94cfb25c9be40a6f51fbfdd1131dfc55ded
tree97196d7bcd3d585b036247c0aa0b0e136fc7ad70
parent5a2a90847450f193f681886db56c3ace5a945785
drm/xe: Remove useless mem_access protection for query ioctls

Every IOCTL is already protected on its outer bounds by
xe_pm_runtime_{get,put} calls, so we can now remove
these.

Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240222163937.138342-10-rodrigo.vivi@intel.com
drivers/gpu/drm/xe/xe_query.c