diff options
author | Chris Wilson <[email protected]> | 2017-08-08 14:19:04 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-08-08 14:53:50 +0100 |
commit | 802673d66f8a6ded5d2689d597853c7bb3a70163 (patch) | |
tree | 2f46251fd7079ae763243bc5be64de768a479281 /lib/mpi/mpi-bit.c | |
parent | fe29133df37ac31de9e657ad91bcf74cdfe8c4cd (diff) |
drm/i915: Perform an invalidate prior to executing golden renderstate
As we may have just bound the renderstate into the GGTT for execution, we
need to ensure that the GTT TLB are also flushed.
On snb-gt2, this would cause a random GPU hang at the start of a new
context (e.g. boot) and on snb-gt1, it was causing the renderstate batch
to take ~10s. It was the GPU hang that revealed the truth, as the CS
gleefully executed beyond the end of the golden renderstate batch, a good
indicator for a GTT TLB miss.
Fixes: 20fe17aa52dc ("drm/i915: Remove redundant TLB invalidate on switching contexts")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Cc: <[email protected]> # v4.12-rc1+
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions