From: Tvrtko Ursulin Date: Thu, 13 Nov 2014 17:51:51 +0000 (+0000) Subject: drm/i915/skl: Use correct use counters for force wakes X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~14^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e7cc470bc182389af15c9b7fe78bb40b7dc44e9;p=pandora-kernel.git drm/i915/skl: Use correct use counters for force wakes Write and reads following the block changed use engine specific use counters and unless that is matched here force wake use counting goes bad. Same force wake is attempted to be taken twice which leads to at least time outs. NOTE: Depending on feedback from hardware designers it may not be necessary to grab force wakes on Gen9 here. But for Gen8 it is needed due to a race between RC6 and ELSP writes. v2: Added blitter force wake engine and made more future proof. Added commit note. Reviewed-by: Damien Lespiau Signed-off-by: Tvrtko Ursulin Cc: Damien Lespiau Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed