drm/i915: Always pass dev pointer in pdp_init
authorMichel Thierry <michel.thierry@intel.com>
Fri, 7 Aug 2015 16:40:19 +0000 (17:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:31 +0000 (18:16 +0200)
And fix 0-DAY kernel test infrastructure warning.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c

index 8fda1fb7e506c2b0b1896b2cc1db275fbe64eeff..4a76807143b158ed09a2b85549e395186e7d7950 100644 (file)
@@ -1475,7 +1475,7 @@ static int gen8_ppgtt_init(struct i915_hw_ppgtt *ppgtt)
                ppgtt->base.total = 1ULL << 48;
                ppgtt->switch_mm = gen8_48b_mm_switch;
        } else {
-               ret = __pdp_init(false, &ppgtt->pdp);
+               ret = __pdp_init(ppgtt->base.dev, &ppgtt->pdp);
                if (ret)
                        goto free_scratch;
 
This page took 0.043549 seconds and 5 git commands to generate.