[PATCH 3/3] drm/gma500: Fix cursor gem obj referencing on cdv

2013-05-26 Thread Patrik Jakobsson
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 f

[PATCH 3/3] drm/gma500: Fix cursor gem obj referencing on cdv

2013-05-26 Thread Patrik Jakobsson
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 f