]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: remove px_page
authorMatthew Auld <matthew.auld@intel.com>
Mon, 30 Jul 2018 12:05:44 +0000 (13:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jul 2018 14:21:48 +0000 (15:21 +0100)
commit5f8da3c69e452c18a444b29685d5cbc891e27e77
tree1be0885cc6f1d6516dc9e3e9d6a45550400b481a
parent65a1fedb945f0caf1be12137b2d44cb006440141
drm/i915/gtt: remove px_page

Entries will either be pointing to scratch or real PD, making the
px_page(pd) check pointless. Also since there are no other users of
px_page, just remove it.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180730120544.20784-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h