]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 24 Apr 2014 15:20:28 +0000 (17:20 +0200)
commitf6d43ffeaa011d79383180ddd203c2ea8e379185
treeef8430c96ce193b35653849789c63d61999f9d6f
parent8b85dcbfe87eaa2ea7875b511098102e369e1d8c
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