]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Split GGTT initialisation between probing and setup
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 06:52:21 +0000 (07:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 07:09:13 +0000 (08:09 +0100)
commit17ecb05ac66e564f0a679f61991a2fd1d92bb253
treef84652af8a1bc42e32f2514fe64995bacc568f81
parente4b1e2aa9e0e378ccb73c7b19a1ba7f65c55767f
drm/i915: Split GGTT initialisation between probing and setup

In order to handle conflicting drivers (i.e. vgacon) having a different
setup of hardware, we have to remove those other drivers before we try
to setup our own mappings. This requires us to split GGTT initialisation
between probing for the hardware location (part of the PCI BAR) and
later establishing the kernel resources for it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h