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)
commitfc9d83f7475ec3164ee80582555f4fe8a7847319
tree6836951fd64ae6516f6ebf452b2e0770265eeb83
parentee7fa12ce4683e92e3ab0c43c36af5fb5f6b1054
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