drm/i915: Pin cursor bo and unpin old bo when setting cursor.
authorKristian Høgsberg <krh@redhat.com>
Thu, 18 Dec 2008 03:14:59 +0000 (22:14 -0500)
committerDave Airlie <airlied@linux.ie>
Wed, 7 Jan 2009 01:49:43 +0000 (11:49 +1000)
We also didn't track the cursor bo before and would leak a reference
when the cursor image was change.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found