drm/i915:Add the VCS2 switch in Intel_ring_setup_status_page
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 17 Apr 2014 02:37:39 +0000 (10:37 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:08:48 +0000 (09:08 +0200)
commit77fe2ff3db150736ac24512f42caf28a16aa918b
treeffdeb929d6bb7a16cf5dc9d314d1f522e6cc3408
parent85f9b5f9c48abdbcbeacdd5a6daf76c63eba8c83
drm/i915:Add the VCS2 switch in Intel_ring_setup_status_page

The Gen7 doesn't have the second BSD ring. But it will complain the switch check
warning message during compilation. So just add it to remove the
switch check warning.

V1->V2: Follow Daniel's comment to update the comment

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c