]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop the forcewake count inc/dec around register read on VLV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Feb 2014 15:02:09 +0000 (17:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:22 +0000 (21:30 +0100)
commit774627654e8f9970b57577e73c3f1f85753c4258
tree6836951fd64ae6516f6ebf452b2e0770265eeb83
parentee569ee3a2ef31b6fa0ee2fc348a5860ac86d2bd
drm/i915: Drop the forcewake count inc/dec around register read on VLV

VLV is the only platform where we increment/decrement the forcewake
count around register access. Drop the inc/dec on VLV to make the
forcewake code a bit more unified.

The inc/dec are not necessary since we hold the uncore lock around
the whole operation.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S <deepak.s@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c