]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 6 Dec 2017 03:33:20 +0000 (11:33 +0800)
commit365ad5df9caa1a7ebc73b8d70ab94bbf6a74268a
treea5c73e00505a06676ec2182d5bcdbb2f7c35db98
parentadd7e4fc2420e35f200e4aa13764708e62690e2e
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>
(cherry picked from commit 62a6a53786fc4b4e7543cc63b704dbb3f7df4c0f)
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/mmio.h