]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Update ppgtt_init_ring() & context_enable() to take requests
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 29 May 2015 16:43:40 +0000 (17:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 12:02:09 +0000 (14:02 +0200)
commitb3dd6b9681e4116bce4dd1145cb162a5a48bac8e
treeef76fec90bb6303a8c13dc4b80951b072d5f2ab4
parentdc4be6071a24f0d2da6af8ce16c19f276ac4d7a2
drm/i915: Update ppgtt_init_ring() & context_enable() to take requests

The final step in removing the OLR from i915_gem_init_hw() is to pass the newly
allocated request structure in to each step rather than passing a ring
structure. This patch updates both i915_ppgtt_init_ring() and
i915_gem_context_enable() to take request pointers.

For: VIZ-5115
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Tomas Elf <tomas.elf@intel.com>
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
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h