projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d27a1
)
drm/i915/gvt: emulate right behavior for tlb_control
author
Ping Gao
<ping.a.gao@intel.com>
Thu, 10 Nov 2016 07:27:20 +0000
(15:27 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Mon, 14 Nov 2016 10:06:43 +0000
(18:06 +0800)
Emulate right behavior for tlb_control, set to ZERO upon write.
Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Min He <min.he@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/handlers.c
b/drivers/gpu/drm/i915/gvt/handlers.c
index
1b3db0c
..
8d3389e
100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/handlers.c
+++ b/
drivers/gpu/drm/i915/gvt/handlers.c
@@
-1372,6
+1372,7
@@
static int gvt_reg_tlb_control_handler(struct intel_vgpu *vgpu,
unsigned int id = 0;
write_vreg(vgpu, offset, p_data, bytes);
+ vgpu_vreg(vgpu, offset) = 0;
switch (offset) {
case 0x4260: