diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2020-03-28 18:02:25 +0100 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2020-04-01 18:05:29 +0200 |
commit | 5e85ed86eb72c45741bd3f0ae32c04e8bd54b381 (patch) | |
tree | 3375f179ccb797b1ed9ba88b822facba5bfc9d49 /.pick_status.json | |
parent | 9c8dab082f8564ce643104287a4533a2f470069b (diff) |
svga, winsys/svga: Fix persistent memory discard maps
The kernel driver requires immediate notification using a
BindGBSurface command when a graphics coherent memory resource changes
backing MOB, so that it can start dirty-tracking the new MOB.
Since we always use graphics coherent memory for persistent memory, enqueue
and flush a BindGBSurface commmand at map time rather than at unmap time.
Since we're dealing with persistent memory, It's OK to flush while mapped.
This fixes an issue with gnome-shell / Wayland which uses persistent
memory together with discard maps when we advertise ARB_buffer_storage.
XWayland clients will render incorrectly.
Fixes: 71b43490dd ("svga: Support ARB_buffer_storage")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4399>
(cherry picked from commit 46fdc288fb52345134fd9aacd6d7ff71c7b747bb)
Diffstat (limited to '.pick_status.json')
-rw-r--r-- | .pick_status.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index e8d093daf1e..f48b048960e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -148,7 +148,7 @@ "description": "svga, winsys/svga: Fix persistent memory discard maps", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "71b43490dd04c03d4027230b0939b81ab91650ca" }, |