From: Michel Thierry Date: Fri, 7 Aug 2015 16:40:19 +0000 (+0100) Subject: drm/i915: Always pass dev pointer in pdp_init X-Git-Tag: v5.15~13124^2~45^2~1638 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25f5033761f85a659db729a10b59d80f93a6be0d;p=platform%2Fkernel%2Flinux-starfive.git drm/i915: Always pass dev pointer in pdp_init And fix 0-DAY kernel test infrastructure warning. Reported-by: Fengguang Wu Signed-off-by: Michel Thierry Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index 8fda1fb..4a76807 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -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;