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

drm/nouveau: check kind validity against mmu object



This is already handled in the top-level gem_new() ioctl in another manner,
but this will be removed in a future commit.

Ideally we'd not need to check up-front at all, and let the VMM code handle
error checking, but there are paths in the current BO management code where
this isn't possible due to map() not always being called during BO creation,
and map() calls not being allowed to fail during buffer migration.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 01670a79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment