summaryrefslogtreecommitdiff
path: root/tests/gem_basic.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-22 11:34:56 -0700
committerEric Anholt <eric@anholt.net>2008-05-22 22:00:21 -0700
commit44ed693ca6f8d19acb39174c6efada070652a027 (patch)
tree03faad9335216dfcf9b270a3cc6b00e4217183a7 /tests/gem_basic.c
parent71b09a5f75c6063a592f7be07465761519839bcd (diff)
[gem] Use CPU domain for new or pageable objects
Newly allocated objects need to be in the CPU domain as they've just been cleared by the CPU. Also, unmapping objects from the GTT needs to put them into the CPU domain, both to flush rendering as well as to ensure that any paging action gets flushed before we remap to the GTT.
Diffstat (limited to 'tests/gem_basic.c')
0 files changed, 0 insertions, 0 deletions