diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-04-11 05:51:47 -0400 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-04-11 05:51:47 -0400 |
commit | e5199a37f7ed0effc74d3aaeedd6ce3f816a91d1 (patch) | |
tree | 45642cb6f39515c3417a2cc14e68380d577423f1 | |
parent | cf082a4a264d5e0bb79f0055be02d255438836a4 (diff) | |
parent | a34f83639490a5cc11a9d5c1b3773d4b6eb69a9e (diff) |
Merge tag 'gvt-fixes-2017-04-07' of https://github.com/01org/gvt-linux into drm-intel-fixes
gvt-fixes-2017-04-07
- execlist csb initial read ptr fix (Min)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170407084240.4d2ig5ja2umcnsq3@zhen-hp.sh.intel.com
-rw-r--r-- | drivers/gpu/drm/i915/gvt/execlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/execlist.c b/drivers/gpu/drm/i915/gvt/execlist.c index f1f426a97aa9..d186c157f65f 100644 --- a/drivers/gpu/drm/i915/gvt/execlist.c +++ b/drivers/gpu/drm/i915/gvt/execlist.c | |||
@@ -775,7 +775,8 @@ static void init_vgpu_execlist(struct intel_vgpu *vgpu, int ring_id) | |||
775 | _EL_OFFSET_STATUS_PTR); | 775 | _EL_OFFSET_STATUS_PTR); |
776 | 776 | ||
777 | ctx_status_ptr.dw = vgpu_vreg(vgpu, ctx_status_ptr_reg); | 777 | ctx_status_ptr.dw = vgpu_vreg(vgpu, ctx_status_ptr_reg); |
778 | ctx_status_ptr.read_ptr = ctx_status_ptr.write_ptr = 0x7; | 778 | ctx_status_ptr.read_ptr = 0; |
779 | ctx_status_ptr.write_ptr = 0x7; | ||
779 | vgpu_vreg(vgpu, ctx_status_ptr_reg) = ctx_status_ptr.dw; | 780 | vgpu_vreg(vgpu, ctx_status_ptr_reg) = ctx_status_ptr.dw; |
780 | } | 781 | } |
781 | 782 | ||