]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: Block MMR_READ IOCTL in reset
authorVictor Skvortsov <victor.skvortsov@amd.com>
Thu, 8 Aug 2024 17:40:23 +0000 (13:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:12:52 +0000 (12:12 -0400)
commit9e823f307074c0f82b5f6044943b0086e3079bed
treefdb16f8614e7eaa19bb37e756a123d1a843ddb8d
parenta85c3db6b3b088f63b5b8c4fd4352f56f0e4ce3d
drm/amdgpu: Block MMR_READ IOCTL in reset

Register access from userspace should be blocked until
reset is complete.

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c