]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/vlv: Modifying WA 'WaDisableL3Bank2xClockGate for vlv
authorAkash Goel <akash.goel@intel.com>
Mon, 24 Mar 2014 17:30:07 +0000 (23:00 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 May 2014 16:54:05 +0000 (18:54 +0200)
commit698101045d526df1835a1a1404759bba8b9e1b7d
tree8a4cf3adf0af4984c5c9e24a7a3298f6d920e9b6
parentfdbbf2826292987ff3d180506340437f95694c4a
drm/i915/vlv: Modifying WA 'WaDisableL3Bank2xClockGate for vlv

For disabling L3 clock gating we need to set bit 25 of MMIO
register 940c. Earlier this was being done by just writing 1
into bit 25 and resetting all other bits.
This patch modifies the routine to read-modify-write of the
register, so that the values of other bits are not destroyed.

v2: Modifying the comments and the patch commit message (Chris)

Signed-off-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Sourab Gupta <sourab.gupta@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Apply checkpatch fixup.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c