diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-08-27 17:33:12 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-03 11:04:59 +0200 |
commit | 00e1e623e62cd8452e28633182b91ddcbb70cc7c (patch) | |
tree | 0c34d696170a4cee7ad138eb008080bf7c6a3016 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 21386f86c9af92fea4897e90c1671b3f0010e936 (diff) |
drm/i915: Init some CHV workarounds via LRIs in ring->init_context()
Follow the BDW example and apply the workarounds touching registers
which are saved in the context image through LRIs in the new
ring->init_context() hook.
This makes Mesa much happier and eg. glxgears doesn't hang after
the first frame.
Cc: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Add missing wa table initialization to avoid a functional
conflict with Arun's wa table debugfs support.]
Reviewed-by: "Barbalho, Rafael" <rafael.barbalho@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
0 files changed, 0 insertions, 0 deletions