]> 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)
commit9b93fbf063f2f0e39ce0b9c7863e8c47f2b911dd
treec9ec6f77efe5eac539de48cdf8d982b25032fd8e
parent42c09acbbe8d78f3a4da05a712ec5516025513f6
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: 19c46b7d2451 ("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