]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Add a context open function
authorBen Widawsky <ben@bwidawsk.net>
Fri, 6 Dec 2013 22:10:58 +0000 (14:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 14:27:51 +0000 (15:27 +0100)
commite422b888ebda24f8aeeece032875c640acba2cdc
tree2f2bfabf178d510a15c29479eb48713ee21e060f
parent3e7a032295f178d1db4e4b9ac25b6d6bc6d5826e
drm/i915: Add a context open function

We'll be doing a bit more stuff with each file, so having our own open
function should make things clean.

This also allows us to easily add conditionals for stuff we don't want
to do when we don't have HW contexts.

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