]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: No need to zero the table for page dirs
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 14 Jun 2019 16:43:41 +0000 (19:43 +0300)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 17 Jun 2019 13:30:32 +0000 (16:30 +0300)
commit7d82cc353ad4e57d4d459e459f305bf43dedfdad
treea05e2f102cfd473820d86c41b87a8587077c6f6d
parent0780f3b6f054ec6497a1a16edb9bf5832c0b92f4
drm/i915/gtt: No need to zero the table for page dirs

We set them to scratch right after allocation so prevent
useless zeroing before.

v2: atomic_t
v3: allow pdp alloc fail

Cc: Chris Wilson <chris@chris-wilson.co.uk>
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-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c