drm/i915: Don't unpin from intel_commit_plane() unless requested
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Jul 2012 13:11:54 +0000 (16:11 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Aug 2012 14:05:37 +0000 (17:05 +0300)
commit27d01ed33797a29dc73194d78975df5637c8690f
treedddcabb36d66e3b1caed7c3edc1f8ab2adb18a34
parent581722d0c716701661d087ccd41b70ffa60b28ae
drm/i915: Don't unpin from intel_commit_plane() unless requested

If the sprite is invisible intel_commit_plane() would call
intel_disable_plane(). It needs to call _intel_disable_plane()
instead, so that the pin vs. no pin information is propagated
correctly. The pin count would get out of whack without this change,
eventually leading to BUG().
drivers/gpu/drm/i915/intel_sprite.c