]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/ttm: Fix memory type compatibility check
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 28 Oct 2013 09:02:19 +0000 (02:02 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 6 Nov 2013 12:36:22 +0000 (04:36 -0800)
commit59c8e66378fb78adbcd05f0d09783dde6fef282b
treefbae6a19cbb8c89c166b0cc151c9d5ef3376297a
parentda95c788ef0c645378ffccb7060a0df1a33aee38
drm/ttm: Fix memory type compatibility check

Also check the busy placements before deciding to move a buffer object.
Failing to do this may result in a completely unneccessary move within a
single memory type.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/ttm/ttm_bo.c