diff options
author | Xiaolin Zhang <[email protected]> | 2019-08-23 14:57:31 +0800 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2019-09-06 09:53:12 -0700 |
commit | 9e77f5001b9833a6bdd3940df245053c2212a32b (patch) | |
tree | 47fe85a5ba31495274d42566d00a58e234e294f7 /lib/string_helpers.c | |
parent | 29326a167adbdafd8150e7a48657fb1e469f96bd (diff) |
drm/i915: to make vgpu ppgtt notificaiton as atomic operation
vgpu ppgtt notification was split into 2 steps, the first step is to
update PVINFO's pdp register and then write PVINFO's g2v_notify register
with action code to tirgger ppgtt notification to GVT side.
currently these steps were not atomic operations due to no any protection,
so it is easy to enter race condition state during the MTBF, stress and
IGT test to cause GPU hang.
the solution is to add a lock to make vgpu ppgtt notication as atomic
operation.
Cc: [email protected]
Signed-off-by: Xiaolin Zhang <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 52988009843160c5b366b4082ed6df48041c655c)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions