diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-11-18 11:47:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2011-11-29 10:37:41 -0500 |
commit | 4e46b1a4566b14660275dfd5866169e186201805 (patch) | |
tree | 35ea63b3b6ff59babdd1b67f7dce9902bbc30e70 /Documentation/sysctl | |
parent | 5dffa39a49d1ed091750196ed02d96c605e92da0 (diff) |
drm/ttm: callback move_notify any time bo placement change v4
Previously we were calling back move_notify in error path when the
bo is returned to it's original position or when destroy the bo.
When destroying the bo set the new mem placement as NULL when calling
back in the driver.
Updating nouveau to deal with NULL placement properly.
v2: reserve the object before calling move_notify in bo destroy path
at that point ttm should be the only piece of code interacting
with the object so atomic_set is safe here.
v3: callback move notify only once the bo is in its new position
call move notify want swaping out the buffer
v4:- don't call move_notify when swapin out bo, assume driver should
do what is appropriate in swap notify
- move move_notify call back to ttm_bo_cleanup_memtype_use for
destroy path
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'Documentation/sysctl')
0 files changed, 0 insertions, 0 deletions