drm/i915/gtt: Don't check PPGTT presence on PPGTT-only platforms
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 2 Jul 2019 11:31:49 +0000 (13:31 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jul 2019 18:36:49 +0000 (19:36 +0100)
commit096a93949b8658b058e8e3d3aee7b6ff36bf4f2e
tree8f9ee0e932dd18ff39bc666fc744acfba7d0af32
parenta3389c14ba09898877122cfae8d2c4c9d9e7291e
drm/i915/gtt: Don't check PPGTT presence on PPGTT-only platforms

We missed one place where we check PPGTT-only platform for PPGTT
presence. Let's remove it.
While I'm here let's assert that this particular code is never called on
pre-gen8 platforms.

References: 4bdafb9ddfa4 ("drm/i915: Remove i915.enable_ppgtt override")
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702113149.21200-2-michal.winiarski@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c