drm/i915: Always pass dev pointer in pdp_init
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>
This commit is contained in:
parent
f365f91181
commit
25f5033761
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user