[Intel-gfx] [PATCH 02/10] drm/i915: Drop some unused fields from i915_execbuffer_params
Tvrtko Ursulin
tursulin at ursulin.net
Tue Jan 31 13:15:38 UTC 2017
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
dev, file and ctx are unused.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
index ee7b7bd17e29..2991751516f8 100644
--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -50,13 +50,10 @@
#define BATCH_OFFSET_BIAS (256*1024)
struct i915_execbuffer_params {
- struct drm_device *dev;
- struct drm_file *file;
struct i915_vma *batch;
u32 dispatch_flags;
u32 batch_start;
struct intel_engine_cs *engine;
- struct i915_gem_context *ctx;
struct drm_i915_gem_request *request;
};
@@ -1834,11 +1831,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
* kept around beyond the duration of the IOCTL once the GPU
* scheduler arrives.
*/
- params.dev = dev;
- params.file = file;
params.engine = engine;
params.dispatch_flags = dispatch_flags;
- params.ctx = ctx;
params.batch = batch;
params.batch_start = batch_start_offset;
params.request = req;
--
2.7.4
More information about the Intel-gfx
mailing list