drm/i915: Make aliasing a 2nd class VM
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 7 May 2014 05:21:36 +0000 (22:21 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 May 2014 08:01:41 +0000 (10:01 +0200)
commit6e7186af3b815adda710ee8b4a6f1402776661c0
treea52a63c9c402325ca0f1e6afe14ccf6f54b6bcb9
parent3e8b5ae9b0e48281712ade208a2d0d6d2ee4a6d6
drm/i915: Make aliasing a 2nd class VM

There is a good debate to be had about how best to fit the aliasing
PPGTT into the code. However, as it stands right now, getting aliasing
PPGTT bindings is a hack, and done through implicit arguments. To make
this absolutely clear, WARN and return an error if a driver writer tries
to do something they shouldn't.

I have no issue with an eventual revert of this patch. It makes sense
for what we have today.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c