diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-03-02 21:53:19 +0100 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2010-05-16 19:59:15 +0100 |
commit | ea9a5cd068e4c9e33acdfa036f4c4822272cf9f7 (patch) | |
tree | 28c9b800da70c5c895366b95dc2dfad44a03d1d8 /src/xvmc/i915_xvmc.h | |
parent | c8af5e9b0627aacfbd7a20a91a0da5496b7e979d (diff) |
i915 XvMC: switch sis to drm_intel_bo
I've decided to allocate a new buffer for every render command, to
prevent stalling for the gpu. libdrm bo reuse should take care of
not wasting memory in case the buffer is not busy.
Also always emit the full state, it's not worth it to complicate
the code over a few stores to wc memory.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Carl Worth <cworth@cworth.org>
(cherry picked from commit d27955c697e1768559957da8d61087644befd285)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/xvmc/i915_xvmc.h')
-rw-r--r-- | src/xvmc/i915_xvmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xvmc/i915_xvmc.h b/src/xvmc/i915_xvmc.h index 3aa92c3d..57a7e2d0 100644 --- a/src/xvmc/i915_xvmc.h +++ b/src/xvmc/i915_xvmc.h @@ -65,7 +65,7 @@ typedef struct _i915XvMCContext { void *drawHash; int deviceID; - intel_xvmc_drm_map_t sis; + drm_intel_bo *sis_bo; intel_xvmc_drm_map_t msb; drm_intel_bo *ssb_bo; drm_intel_bo *psp_bo; |