]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: add skip_hw_access checks for sriov
authorYunxiang Li <Yunxiang.Li@amd.com>
Fri, 24 May 2024 20:14:55 +0000 (16:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:15:58 +0000 (16:15 -0400)
commitb3948ad1ac582f560e1f3aeaecf384619921c48d
treebea495b08d1ec298240eab93ce66eae3f55ac567
parentbac640ddb51e8066d1f35ed810e7a4c6dd341d39
drm/amdgpu: add skip_hw_access checks for sriov

Accessing registers via host is missing the check for skip_hw_access and
the lockdep check that comes with it.

Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c