drm/i915: Implement GEM GET and SET_CACHING ioctls
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 26 Aug 2014 16:21:17 +0000 (18:21 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 26 Aug 2014 16:19:26 +0000 (18:19 +0200)
commite61afc2bd565291a3326f25abec118a60e3ce9c0
treef141c05fe3e45014230256b010b0c179c386259a
parent9463ea91fd9afa9b62c120c58623f4f8aa0ed2c0
drm/i915: Implement GEM GET and SET_CACHING ioctls

They can be used by userspace drivers to accelerate uploads and downloads
from the GPU and also mix CPU and GPU rendering/activity efficiently.

Obtained-from: Linux 3.8.13
sys/dev/drm/i915/i915_dma.c
sys/dev/drm/i915/i915_gem.c