Skip to content
Commit 891517f5 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

nouveau: disallow pushbuf BOs in multiple memory types



Under certain circumstances it's possible for libdrm to decide to move
a GART|VRAM pushbuf to be VRAM-only.  This causes the kernel to reject
the command submission on GF8 and up, due to a stricter policy where
buffers are only allowed to move to memory types that were specified
at creation time.

The simplest fix for this is to force the creation-time memory type for
the lifetime of the push buffer.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent baf0a7da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment