diff options
| author | Jani Nikula | 2017-04-11 09:51:47 +0000 |
|---|---|---|
| committer | Jani Nikula | 2017-04-11 09:51:47 +0000 |
| commit | e5199a37f7ed0effc74d3aaeedd6ce3f816a91d1 (patch) | |
| tree | 45642cb6f39515c3417a2cc14e68380d577423f1 | |
| parent | cf082a4a264d5e0bb79f0055be02d255438836a4 (diff) | |
| parent | a34f83639490a5cc11a9d5c1b3773d4b6eb69a9e (diff) | |
| download | blogic-e5199a37f7ed0effc74d3aaeedd6ce3f816a91d1.tar.gz | |
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) _EL_OFFSET_STATUS_PTR); ctx_status_ptr.dw = vgpu_vreg(vgpu, ctx_status_ptr_reg); - ctx_status_ptr.read_ptr = ctx_status_ptr.write_ptr = 0x7; + ctx_status_ptr.read_ptr = 0; + ctx_status_ptr.write_ptr = 0x7; vgpu_vreg(vgpu, ctx_status_ptr_reg) = ctx_status_ptr.dw; } |