diff options
author | Keith Packard <keithp@keithp.com> | 2008-05-22 23:08:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-05-22 23:08:38 -0700 |
commit | 8c2b207f9b1fb1cf6df23c7ef73ca57dfb5dd459 (patch) | |
tree | 0220aa67cad733f13a2eeac7199d8476e815316c /linux-core/radeon_ms_drv.c | |
parent | 44ed693ca6f8d19acb39174c6efada070652a027 (diff) |
[intel-gem] Encourage multiple caches to hold read data
When reading from multiple domains, allow each cache to continue
to hold data until writes occur somewhere. This is done by
first leaving the read_domains alone at bind time (presumably the CPU read
cache contains valid data still) and then in set_domain, if no write_domain
is specified, the new read domains are simply merged into the existing read
domains.
A huge comment was added above set_domain to explain how things are
expected to work.
Diffstat (limited to 'linux-core/radeon_ms_drv.c')
0 files changed, 0 insertions, 0 deletions