drm/i915: Move PTE_READ_ONLY to ->pte_encode vfunc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Apr 2015 15:35:15 +0000 (17:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Apr 2015 15:59:14 +0000 (08:59 -0700)
commitf329f5f6eb4fad8f2e9c62fe37ec01ae5ce0f212
tree2a651f06e0f9806da10d44cfaf20c00e972d4291
parent5c5f645773b6d147bf68c350674dc3ef4f8de83d
drm/i915: Move PTE_READ_ONLY to ->pte_encode vfunc

It's only used as a flag there, so unconfuse things a bit.
Also separate the bind_vma flag space from the pte_encode flag
space in the code.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h