drm/i915/gvt: Export intel_gvt_render_mmio_to_ring_id()
authorZhi Wang <zhi.a.wang@intel.com>
Sat, 30 Sep 2017 09:42:20 +0000 (17:42 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:22 +0000 (11:48 +0800)
commit62a6a53786fc4b4e7543cc63b704dbb3f7df4c0f
treeb8352ef1a8628a16cf283cc02335d6a420056c05
parent7d1e5cdf01789729aff2da4005f51f58b491040c
drm/i915/gvt: Export intel_gvt_render_mmio_to_ring_id()

Since many emulation logic needs to convert the offset of ring registers
into ring id, we export it for other caller which might need it.

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