diff options
author | Kenneth Graunke <[email protected]> | 2013-07-10 13:18:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-15 19:40:51 -0700 |
commit | 3f64cfabfc0bae7f5dba9d541680edcc6b745cea (patch) | |
tree | 7f6c1a11b56a154436a75f74d327d9db4b34a1c1 /src/mesa | |
parent | f254c942043e9da5f028688a652ccf1c18046922 (diff) |
i965: Cite the 965 PRM for "the data cache is the sampler cache".
Presumably, this comment exists to justify the usage of
I915_GEM_DOMAIN_SAMPLER for this relocation. At one point, this was
necessary to ensure that the right flushing was done to keep caches
coherent. These days, the kernel just flushes everything, so I don't
think it matters.
Still, the comment is interesting, so leave it in place.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index c678919cc15..8847f916536 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -347,9 +347,9 @@ brw_create_constant_surface(struct brw_context *brw, surf[4] = 0; surf[5] = 0; - /* Emit relocation to surface contents. Section 5.1.1 of the gen4 - * bspec ("Data Cache") says that the data cache does not exist as - * a separate cache and is just the sampler cache. + /* Emit relocation to surface contents. The 965 PRM, Volume 4, section + * 5.1.2 "Data Cache" says: "the data cache does not exist as a separate + * physical cache. It is mapped in hardware to the sampler cache." */ drm_intel_bo_emit_reloc(brw->batch.bo, *out_offset + 4, |