diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2015-05-29 17:43:51 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-06-23 14:02:17 +0200 |
commit | 6909a666466e4a83159df94c4e29cb9cd52fce9e (patch) | |
tree | 1138fe3d90971fb34c95f66bb69877d32f1b8aec /drivers/gpu/drm/i915/i915_gem_context.c | |
parent | b2af03769301e986740c50bf72a47b9abd528290 (diff) | |
download | op-kernel-dev-6909a666466e4a83159df94c4e29cb9cd52fce9e.zip op-kernel-dev-6909a666466e4a83159df94c4e29cb9cd52fce9e.tar.gz |
drm/i915: Update l3_remap to take a request structure
Converted i915_gem_l3_remap() to take a request structure instead of a ring.
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_context.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_context.c b/drivers/gpu/drm/i915/i915_gem_context.c index ea959ab..8e52f3c 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.c +++ b/drivers/gpu/drm/i915/i915_gem_context.c @@ -720,7 +720,7 @@ static int do_switch(struct drm_i915_gem_request *req) if (!(to->remap_slice & (1<<i))) continue; - ret = i915_gem_l3_remap(ring, i); + ret = i915_gem_l3_remap(req, i); /* If it failed, try again next round */ if (ret) DRM_DEBUG_DRIVER("L3 remapping failed\n"); |