diff options
| author | Chris Wilson <[email protected]> | 2022-07-12 15:21:32 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2022-07-12 22:21:48 +0000 |
| commit | b24dcf1dc507f69ed3b5c66c2b6a0209ae80d4d4 (patch) | |
| tree | 54ed4570a7ae9d673516494a1f157aaa728e3b9c /net/unix/af_unix.c | |
| parent | drm/i915/ttm: fix sg_table construction (diff) | |
| download | kernel-b24dcf1dc507f69ed3b5c66c2b6a0209ae80d4d4.tar.gz kernel-b24dcf1dc507f69ed3b5c66c2b6a0209ae80d4d4.zip | |
drm/i915/gt: Serialize GRDOM access between multiple engine resets
Don't allow two engines to be reset in parallel, as they would both
try to select a reset bit (and send requests to common registers)
and wait on that register, at the same time. Serialize control of
the reset requests/acks using the uncore->lock, which will also ensure
that no other GT state changes at the same time as the actual reset.
Cc: [email protected] # v4.4 and upper
Reported-by: Mika Kuoppala <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Acked-by: Mika Kuoppala <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Acked-by: Thomas Hellström <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/e0a2d894e77aed7c2e36b0d1abdc7dbac3011729.1657639152.git.mchehab@kernel.org
(cherry picked from commit 336561a914fc0c6f1218228718f633b31b7af1c3)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
