commit | f73e73999d39a274adb8b342d7d8e722ffcf92d5 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sun Dec 18 15:37:24 2016 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sun Dec 18 16:18:56 2016 +0000 |
tree | 24b35ee2a1a8d34e230f05e0960fcfd51daa40b4 | |
parent | 2947e4080f22b63b46dbbb95e838396b58a9914b [diff] |
drm/i915: Swap if(enable_execlists) in i915_gem_request_alloc for a vfunc A fairly trivial move of a matching pair of routines (for preparing a request for construction) onto an engine vfunc. The ulterior motive is to be able to create a mock request implementation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161218153724.8439-7-chris@chris-wilson.co.uk