diff options
author | Dave Airlie <[email protected]> | 2010-12-31 12:24:35 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-01-09 17:21:10 +1000 |
commit | 3ee8d13c0049e6a9490054ea46963bb6f9f18905 (patch) | |
tree | 94b267c11689f3b086dd825b034b657581b7840d /src/gallium/winsys | |
parent | 9562284114eee8b98b46ac7126f6af83df385c7c (diff) |
i965g: update disassembler code from classic.
still a bit of work to do, the winsys gen setting is a bit of a hack.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/i965/drm/i965_drm_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/i965/drm/i965_drm_buffer.c b/src/gallium/winsys/i965/drm/i965_drm_buffer.c index ed62db60bbb..a904179eeb9 100644 --- a/src/gallium/winsys/i965/drm/i965_drm_buffer.c +++ b/src/gallium/winsys/i965/drm/i965_drm_buffer.c @@ -325,7 +325,7 @@ i965_libdrm_bo_subdata(struct brw_winsys_buffer *buffer, brw_dump_data( idws->base.pci_id, data_type, buf->bo->offset + offset, - data, size ); + data, size, buffer->sws->gen ); /* XXX: use bo_map_gtt/memcpy/unmap_gtt under some circumstances??? */ @@ -464,7 +464,7 @@ i965_libdrm_bo_flush_range(struct brw_winsys_buffer *buffer, buf->data_type, buf->bo->offset + offset, (char*)buf->bo->virtual + offset, - length ); + length, buffer->sws->gen ); } static void |