]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Initialize MMIO Block with HW state
authorTina Zhang <tina.zhang@intel.com>
Fri, 4 Aug 2017 09:39:41 +0000 (17:39 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 4 Aug 2017 09:39:41 +0000 (17:39 +0800)
commit02b6ed44304e458d68e454493ab272f4e3c3c53a
treec9ec6f77efe5eac539de48cdf8d982b25032fd8e
parentf2e2c00adcdc59b9fe86c82259abdaf32d0ee6ea
drm/i915/gvt: Initialize MMIO Block with HW state

MMIO block with tracked mmio, is introduced for the sake of performance
of searching tracked mmio. All the tracked mmio needs to get the initial
value from the HW state during vGPU being created. This patch is to
initialize the tracked registers in MMIO block with the HW state.

v2: Add "Fixes:" line for this patch (Zhenyu)

Fixes: 65f9f6febf12 ("drm/i915/gvt: Optimize MMIO register handling for some large MMIO blocks")
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/firmware.c
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c