drm/i915/gvt: Refine MMIO_RING_F()
authorZhi Wang <zhi.a.wang@intel.com>
Sat, 30 Sep 2017 09:32:16 +0000 (17:32 +0800)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 26 Oct 2017 17:38:56 +0000 (01:38 +0800)
commitedee7ecdb4d7311f351feaeb53e269f416bb1b57
tree39c4f3390f598a3c4896066535f495a5698b98f6
parent8f63fc2bc64716c16e269ab951130eeda78fe37a
drm/i915/gvt: Refine MMIO_RING_F()

Inspect if the host has VCS2 ring by host i915 macro in MMIO_RING_F().
Also this helps on reducing some LOCs.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/reg.h