]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7f3d3e17996eab4b98382695f41dfe68057481a
tree8f9ee0e932dd18ff39bc666fc744acfba7d0af32
parent979b3864da1ea0d6b9d57998c5691bb53cc7a6b4
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: a46cd15ae6a9 ("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