From: Ville Syrjälä Date: Mon, 16 Sep 2013 14:38:27 +0000 (+0300) Subject: drm/i915: Change i915_request power well handling X-Git-Tag: v3.13-rc1~76^2~114^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cdb826c1452eeef1dfb5ebe64c27e7fa8616c49;p=pandora-kernel.git drm/i915: Change i915_request power well handling Reorganize the internal i915_request power well handling to use the reference count just like everyone else. This way all we need to do is check the reference count and we know whether the power well needs to be enabled of disabled. v2: Split he intel_display_power_{get,put} change to another patch. Add intel_resume_power_well() to make sure we enable the power well on resume Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed