diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2021-05-04 23:57:36 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2021-05-11 13:37:04 -0400 |
commit | 75156a887b6cea6e09d83ec19f4ebfd7c86265f0 (patch) | |
tree | 0088b21dff5e2b6b2ef9546d707fa84b4fe61cdc /drivers/pci/controller/pcie-xilinx-cpm.c | |
parent | 2cc8bfeeb7366a24f3ad726c05117984b89a90e1 (diff) |
drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
The SVGA3dCmdDXGenMips command uses a shader-resource view to access
the underlying surface. Normally accesses using that view-type are not
dirtying the underlying surface, but that particular command is an
exception.
Mark the surface gpu-dirty after a SVGA3dCmdDXGenMips command has been
submitted.
This fixes the piglit getteximage-formats test run with
SVGA_FORCE_COHERENT=1
Fixes: a9f58c456e9d ("drm/vmwgfx: Be more restrictive when dirtying resources")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210505035740.286923-3-zackr@vmware.com
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
0 files changed, 0 insertions, 0 deletions