diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-11-22 13:43:55 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-11-29 09:58:05 +1000 |
commit | 4946980099c617ba7612f97f77cba7ece5b7f820 (patch) | |
tree | 79a781ea1317fa560929290e4fd1c709acfae733 /lib | |
parent | 43598875b35fdd3f699954078b7df24b5647a27a (diff) | |
download | lwn-4946980099c617ba7612f97f77cba7ece5b7f820.tar.gz lwn-4946980099c617ba7612f97f77cba7ece5b7f820.zip |
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: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions