From: Ville Syrjälä Date: Wed, 27 Aug 2014 14:33:12 +0000 (+0300) Subject: drm/i915: Init some CHV workarounds via LRIs in ring->init_context() X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e1e623e62cd8452e28633182b91ddcbb70cc7c;p=pandora-kernel.git 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 Signed-off-by: Ville Syrjälä [danvet: Add missing wa table initialization to avoid a functional conflict with Arun's wa table debugfs support.] Reviewed-by: "Barbalho, Rafael" Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed