summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-01-13 21:28:40 (GMT)
committerDave Airlie <airlied@redhat.com>2010-01-14 02:18:54 (GMT)
commit3f09ea4ecdcbcea05541f83e557d6ce2e56626d8 (patch)
tree445e4519b2e8a39136f611f07db670d1e10ace6e /drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c
parenteffe1105bef07f42366c20eac41b80ff9fcf675e (diff)
downloadlinux-fsl-qoriq-3f09ea4ecdcbcea05541f83e557d6ce2e56626d8.tar.xz
drm/ttm: Add a swap_notify callback.
This is needed for a bugfix in the vmwgfx driver. Drivers may have GPU bindings on buffers that core TTM is not aware of, and TTM may view those buffers as ordinary system memory buffers. Add a notifier to such drivers when TTM is about to move the buffer contents out to swappable memory. The driver must then release any private GPU bindings on those buffers. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c')
0 files changed, 0 insertions, 0 deletions