diff options
author | Chris Wilson <[email protected]> | 2021-01-29 00:49:32 +0000 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2021-02-22 16:13:19 +0800 |
commit | 97ea656521c8e94c202d24f9d953cb65297f9aec (patch) | |
tree | 2eb307892f04a1babe05bd50be001eead7b85139 /lib/mpi/mpi-sub-ui.c | |
parent | 81ce8f04aa96f7f6cae05770f68b5d15be91f5a2 (diff) |
drm/i915/gvt: Parse default state to update reg whitelist
Rather than break existing context objects by incorrectly forcing them
to rogue cache coherency and trying to assert a new mapping, read the
reg whitelist from the default context image.
And use gvt->gt, never &dev_priv->gt.
Fixes: 493f30cd086e ("drm/i915/gvt: parse init context to update cmd accessible reg whitelist")
Acked-by: Zhenyu Wang <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Wang Zhi <[email protected]>
Cc: Yan Zhao <[email protected]>
Cc: Zhenyu Wang <[email protected]>
Cc: Zhi Wang <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions