commit | 9ee7250384d877b3fca16e1ddcbeb2859a1b8d70 | [log] [tgz] |
---|---|---|
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | Fri Jun 14 19:43:45 2019 +0300 |
committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | Mon Jun 17 16:32:56 2019 +0300 |
tree | 3ab9cc0fb294ae93ca4ac76f2282b7ad8574ec3d | |
parent | 56ab674190b1f3047a186954d5e13cfaf77edc59 [diff] |
drm/i915/gtt: Generalize alloc_pd Allocate all page directory variants with alloc_pd. As the lvl3 and lvl4 variants differ in manipulation, we need to check for existence of backing phys page before accessing it. v2: use err in returns 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-5-mika.kuoppala@linux.intel.com