diff options
author | Keith Packard <keithp@keithp.com> | 2007-12-16 01:12:07 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2007-12-21 12:16:29 -0800 |
commit | 881ee70ab7bab5d6f6140dc9bf1e19c7b5844084 (patch) | |
tree | 9048804d2930a7ff8c3cf77dfd9488a81668a9ae /linux-core/nouveau_sgdma.c | |
parent | 6d44f48002c19d67187adb660ef74dd1870d52c2 (diff) |
Move dummy_read_page from drm_ttm_set_user to drm_ttm_create.
I'm hoping to use the dummy_read_page for kernel allocated buffers to avoid
allocating extra pages for read-only buffers (like vertex and batch buffers).
This also eliminates the 'write' parameter to drm_ttm_set_user and just
has DRM_TTM_PAGE_WRITE passed into drm_ttm_create.
Diffstat (limited to 'linux-core/nouveau_sgdma.c')
0 files changed, 0 insertions, 0 deletions