]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Assert that the exec object lookup table is a power-of-two
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Sep 2012 09:04:02 +0000 (10:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:23:11 +0000 (14:23 +0200)
commit41783eea1a7f7d033ace4fd78218dd5f37b2db5f
tree01814367fdd89ce0258901d13b108913253bb1aa
parent3cce574f0190dd149472059fb69267cf83d290f9
drm/i915: Assert that the exec object lookup table is a power-of-two

As we make the simplification of using a power-of-two size for the
execbuffer handle-to-object TLB, we should validate that this is actually
true and so clarify that premise.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c