From: Mika Kuoppala Date: Tue, 7 Oct 2014 14:21:26 +0000 (+0300) Subject: drm/i915: Build workaround list in ring initialization X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~78^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7225342ab501befdb64bcec76ded41f5897c0855;p=pandora-kernel.git drm/i915: Build workaround list in ring initialization If we build the workaround list in ring initialization and decouple it from the actual writing of values, we gain the ability to decide where and how we want to apply the values. The advantage of this will become more clear when we need to initialize workarounds on older gens where it is not possible to write all the registers through ring LRIs. v2: rebase on newest bdw workarounds Cc: Arun Siluvery Cc: Damien Lespiau Signed-off-by: Mika Kuoppala Reviewed-by: Arun Siluvery [danvet: Resolve tiny conflict in comments and ocd alignments a bit.] [danvet2: Remove bogus force_wake_get call spotted by Paulo and QA.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed