commit 7edb5986defccd2d0c7d826c1a1523b569cd6750
parent b77d2044c29abca6569622d5e52d1030eab44327
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 31 Jan 2014 04:27:33 -0800
nouveau: Add explanation for why map only works with non-tiled buffers
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/nouveau.c b/nouveau.c
@@ -587,6 +587,8 @@ bool buffer_map(struct wld_buffer * base)
{
struct nouveau_buffer * buffer = nouveau_buffer(base);
+ /* If the buffer is tiled, it cannot be mapped into virtual memory in order
+ * to appear linear like intel can do with map_gtt. */
if (buffer->bo->config.nvc0.tile_mode)
return false;