commit | 3c4fdcfb2941dc36b6a16bc509a2adb97c131716 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@redhat.com> | Wed Dec 17 22:14:46 2008 -0500 |
committer | Dave Airlie <airlied@linux.ie> | Mon Dec 29 17:47:27 2008 +1000 |
tree | 36fba683165c72b36037035f5c383cc18e7e8db8 | |
parent | d1e22c6ed05f3bfb3a7de0947498e7f3c868b296 [diff] |
drm: pin new and unpin old buffer when setting a mode. This removes the requirement for user space to pin a buffer before setting a mode that is backed by the pixels from that buffer. 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>