Commit 314883f
drm/amdgpu: add skip_hw_access checks for sriov
[ Upstream commit b3948ad ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 72de6c0 commit 314883f
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
980 | 983 | | |
981 | 984 | | |
982 | 985 | | |
| |||
1053 | 1056 | | |
1054 | 1057 | | |
1055 | 1058 | | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1056 | 1062 | | |
1057 | 1063 | | |
1058 | 1064 | | |
| |||
1070 | 1076 | | |
1071 | 1077 | | |
1072 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
1073 | 1082 | | |
1074 | 1083 | | |
1075 | 1084 | | |
| |||
0 commit comments