]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915:Initialize the second BSD ring on BDW GT3 machine
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 17 Apr 2014 02:37:37 +0000 (10:37 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:08:46 +0000 (09:08 +0200)
commit3839eab1abbf9b9a6bc7751b32a4b93f6b94abdb
tree3eedda3b84166f28ec069797670a8f6452c77933
parentc00f3027386dd3187a28f4d406b6d7e2215ce63c
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>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h