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

drm/nve0: allow specification of channel engine type in abi16 call



Previously, if either vram/gart handles were specified as ~0, the ioctl
call would fail.  In order to hack engine selection into the ioctl for
kepler, we now define (fb_ctxdma_handle == ~0) to mean "engine mask is
in tt_ctxdma_handle".

This approach also allows new userspace to detect lack of support for
non-PGRAPH channels on older kernels.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 43598875
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