summaryrefslogtreecommitdiff
path: root/tests/ttmtest/src/xf86dri.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2007-12-14 11:42:17 -0800
committerKeith Packard <keithp@keithp.com>2007-12-15 12:10:41 -0800
commitb0bc5f1ae559c705565e516ebb289bf072559dec (patch)
tree4b73f1487e52b27d5edb292eb571664f2b5749e8 /tests/ttmtest/src/xf86dri.c
parent449a3b19ff6e5bd054e7da3086e2d16604fae7ed (diff)
Make ttm create/destroy APIs consistent. Pass page_flags in create.
Creating a ttm was done with drm_ttm_init while destruction was done with drm_destroy_ttm. Renaming these to drm_ttm_create and drm_ttm_destroy makes their use clearer. Passing page_flags to the create function will allow that to know whether user or kernel pages are needed, with the goal of allowing kernel ttms to be saved for later reuse.
Diffstat (limited to 'tests/ttmtest/src/xf86dri.c')
0 files changed, 0 insertions, 0 deletions