]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/vgpu: Disallow loading on old vGPU hosts
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 30 Nov 2018 12:59:54 +0000 (12:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Dec 2018 16:08:26 +0000 (16:08 +0000)
commite6c9549b85c149b9d0ed29936f03c05fbea99ae2
tree9583d109a21b852df9cefbbbb1280c47879670c3
parent7b3aa3f8383eedbaf64fb44fe862aa29196b6dc0
drm/i915/vgpu: Disallow loading on old vGPU hosts

Since commit 2431641947f7 ("drm/i915/execlists: Trust the CSB") we
actually broke the force-mmio mode for our execlists implementation. No
one noticed, so ergo no one is actually using an old vGPU host (where we
required the older method) and so can simply remove the broken support.

v2: csb_read can go as well (Mika)

Reported-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Fixes: 2431641947f7 ("drm/i915/execlists: Trust the CSB")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130125954.11924-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.h