diff options
author | Keith Packard <keithp@keithp.com> | 2007-12-16 01:47:51 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2007-12-21 12:16:29 -0800 |
commit | 37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5 (patch) | |
tree | 75b313d56bd7df93dbc0191492b28995a4dd4b99 /libdrm/xf86drm.c | |
parent | 881ee70ab7bab5d6f6140dc9bf1e19c7b5844084 (diff) |
Use dummy_read_page for unpopulated kernel-allocated ttm pages.
Previously, dummy_read_page was used only for read-only user allocations; it
filled in pages that were not present in the user address map (presumably,
these were allocated but never written to pages).
This patch allows them to be used for read-only ttms allocated from the
kernel, so that applications can over-allocate buffers without forcing every
page to be allocated.
Diffstat (limited to 'libdrm/xf86drm.c')
0 files changed, 0 insertions, 0 deletions