summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-11-07 21:40:47 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-14 09:33:10 +0100
commit935e8de97564a1ea22c3bb30ca2b20b12af7cbfb (patch)
tree1151c162a73388ce1931400d6b2a1b005b27d847
parentf8e100621b072384ec1180563d933e86e2f7e2d5 (diff)
downloadop-kernel-dev-935e8de97564a1ea22c3bb30ca2b20b12af7cbfb.zip
op-kernel-dev-935e8de97564a1ea22c3bb30ca2b20b12af7cbfb.tar.gz
drm/i915/bdw: Do gen6 style reset for gen8
This patch existed before, but was lost over time. Note that reset is still somewhat problematic in my limited testing (ie. module_reload will not pass) but it can be disabled with a module parameter, and support should be considered preliminary anyway. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_uncore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c
index f9883ce..6a4f9b6 100644
--- a/drivers/gpu/drm/i915/intel_uncore.c
+++ b/drivers/gpu/drm/i915/intel_uncore.c
@@ -782,6 +782,7 @@ static int gen6_do_reset(struct drm_device *dev)
int intel_gpu_reset(struct drm_device *dev)
{
switch (INTEL_INFO(dev)->gen) {
+ case 8:
case 7:
case 6: return gen6_do_reset(dev);
case 5: return ironlake_do_reset(dev);
OpenPOWER on IntegriCloud