drm/i915/gtt: Introduce init_pd_with_page
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 14 Jun 2019 16:43:43 +0000 (19:43 +0300)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 17 Jun 2019 13:31:26 +0000 (16:31 +0300)
commit4fba8764b6db821ed632df38156e702a49eb1b5d
treee8afc6d2a429f445a53a4da53c550f88a2e92157
parentb5b7bef9ca9e63cdc563dce447505feb2992cca5
drm/i915/gtt: Introduce init_pd_with_page

We set the page directory entries to point into a page table.
There is no gen specifics in here so make it simple and
obvious.

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-3-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c