]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit3f8bc370ac679a5fe5c098f30d3cf8e80f62a9f8
treee8031b491acc957da7c3e4d99688cf755d7ecfba
parent9bb2d6f94aeb9a185d69aedbd19421b6da4e3309
drm/i915: Pin cursor bo and unpin old bo when setting cursor.

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>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h