[PATCH] drm/i915: add multi-threaded forcewake support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 18 Nov 2011 11:36:32 -0800, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> +	while (count++ < 50 && (I915_READ_NOTRACE(FORCEWAKE_MT_ACK) & 1))

You said this should be << 16

> +	I915_WRITE_NOTRACE(FORCEWAKE_MT, (1<<15) | 1);

and this should be << 16 too


> +			if (I915_READ(ECOBUS) & FORCEWAKE_MT_ENABLE) {

ECOBUS (0xa180) is zero on my machine, but I need the new functions.

Removing the ECOBUS check and switching the shifts to 16 makes this work
on my machine.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111118/cfd68921/attachment.pgp>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux