]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
drm/i915: rip out dev_priv->tex_lru_log_granularity
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Apr 2012 21:28:04 +0000 (23:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:26 +0000 (11:18 +0200)
Assigned in setparam, used never.

I didn't bother to dig through the archives to figure out what
this was supposed to do.

Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h

index 3b068a3917a9a89e24417d22a537612d66dc409e..4f1a9e864e0300268c429635b6901ae3a424fc2d 100644 (file)
@@ -879,7 +879,6 @@ static int i915_setparam(struct drm_device *dev, void *data,
        case I915_SETPARAM_USE_MI_BATCHBUFFER_START:
                break;
        case I915_SETPARAM_TEX_LRU_LOG_GRANULARITY:
-               dev_priv->tex_lru_log_granularity = param->value;
                break;
        case I915_SETPARAM_ALLOW_BATCHBUFFER:
                dev_priv->dri1.allow_batchbuffer = param->value ? 1 : 0;
index 65af417b823a0a49bad91e56bea867cea88995f3..e7f428923733fcbe7d911828e9da4676c2defb83 100644 (file)
@@ -398,7 +398,6 @@ typedef struct drm_i915_private {
        u32 hotplug_supported_mask;
        struct work_struct hotplug_work;
 
-       int tex_lru_log_granularity;
        unsigned int sr01, adpa, ppcr, dvob, dvoc, lvds;
        int num_pipe;
        int num_pch_pll;