OSDN Git Service

intel: initialize bufmgr.bo_mrb_exec unconditionally
authorAlbert Damen <albrt@gmx.net>
Sun, 7 Nov 2010 14:54:32 +0000 (15:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Nov 2010 14:59:55 +0000 (14:59 +0000)
commit49447a9b957047db2549b8a929e763bbd87808ba
tree6dd3b30528bee6a7c00c71216437e1875c29f6bb
parenta52e61b5c888444435929a2770f14109c3a94f2f
intel: initialize bufmgr.bo_mrb_exec unconditionally

If bufmgr.bo_mrb_exec is not set, drm_intel_bo_mrb_exec returns ENODEV
even though drm_intel_gem_bo_mrb_exec2 will work fine for the RENDER ring.
Fixes xf86-video-intel after commit 'add BLT ring support' (5bed685f76)
with kernels without BSD or BLT ring support (2.6.34 and before).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31443
Signed-off-by: Albert Damen <albrt@gmx.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c