summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gpu_error.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-04-17 10:37:37 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-05 09:08:46 +0200
commit845f74a701541662bf7d4880a0f4d492b28f2d18 (patch)
tree3eedda3b84166f28ec069797670a8f6452c77933 /drivers/gpu/drm/i915/i915_gpu_error.c
parentb1a93306ed2686a7064ed54f99203b6db852ca27 (diff)
downloadop-kernel-dev-845f74a701541662bf7d4880a0f4d492b28f2d18.zip
op-kernel-dev-845f74a701541662bf7d4880a0f4d492b28f2d18.tar.gz
drm/i915:Initialize the second BSD ring on BDW GT3 machine
Based on the hardware spec, the BDW GT3 machine has two independent BSD ring that can be used to dispatch the video commands. So just initialize it. V3->V4: Follow Imre's comment to do some minor updates. For example: more comments are added to describe the semaphore between ring. Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> [danvet: Fix up checkpatch error.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gpu_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index 4865ade..282164c 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -42,6 +42,7 @@ static const char *ring_str(int ring)
case VCS: return "bsd";
case BCS: return "blt";
case VECS: return "vebox";
+ case VCS2: return "bsd2";
default: return "";
}
}
OpenPOWER on IntegriCloud