]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: add media well to VLV force wake routines v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 8 Mar 2013 18:45:57 +0000 (10:45 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Mar 2013 19:12:53 +0000 (20:12 +0100)
commitb9ac9d2916aa9b826c303a092744dd0ecdbc6da8
treeb9e2544a430fd1dabc125ce530789e709a243d32
parent85940719e9cd25ae6a146cadbd41912106269b3b
drm/i915: add media well to VLV force wake routines v2

We could split this out into a separate routine at some point as an
optimization.

v2: use FORCEWAKE_KERNEL (Ville)

Note: Ville mentioned in his review that he declines to be responsible
if this blows up due to the lack of "readback a register != FW_ACK,
but from the same cacheline" magic we have in other forcewake
implementations.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Bikeshed overtly long lines according to checkpatch.pl. Nope,
this time around I didn't screw up printk message since I've left
those alone.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c