From: Patrik Jakobsson Date: Sun, 26 May 2013 15:56:19 +0000 (+0200) Subject: drm/gma500/psb: Fix cursor gem obj referencing on psb X-Git-Tag: v3.10-rc6~23^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3463cf1aad48ef43dd0b4cbd7fed15dcc8d2ca53;p=pandora-kernel.git drm/gma500/psb: Fix cursor gem obj referencing on psb The internal crtc cursor gem object pointer was never set/updated since it was required to be set in the first place. Fixing this will make the pin/unpin count match and prevent cursor objects from leaking when userspace drops all references to it. Also make sure we drop the gem obj reference on failure. This patch only affects Poulsbo chips. Signed-off-by: Patrik Jakobsson --- Reading git-diff-tree failed