]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Introduce init_pd
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 14 Jun 2019 16:43:44 +0000 (19:43 +0300)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 17 Jun 2019 13:32:10 +0000 (16:32 +0300)
commit5ee79eb942fa612cfc657e9c7cbbfc10abae3e4d
treee479801287d8c3e6d545ce5e3ad1fc97f822cc65
parent0119163dab3bdc1f351f496fb8c7000f526b4ad1
drm/i915/gtt: Introduce init_pd

All page directories, excluding last level, are initialized with
pointer to next level page directories. Make common function for it.

Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614164350.30415-4-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c