summaryrefslogtreecommitdiff
path: root/src/i915_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-20 15:01:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-25 13:18:01 +0100
commit5c663ce8442bd3b69c96e29061c57cc565fca91d (patch)
tree56f02802179a75e8d94a83c47ebeff9e48bb1168 /src/i915_video.c
parent797d173a9af12055ba2609293182b616dd673ef4 (diff)
Rename common infrastructure to the intel namespace.
After splitting out the i810 driver into its own legacy directory, we can identify the common routines not as i830 but as intel. This clarifies the code which *is* i830 specific. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_video.c')
-rw-r--r--src/i915_video.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/i915_video.c b/src/i915_video.c
index 893855bd..428ea3dc 100644
--- a/src/i915_video.c
+++ b/src/i915_video.c
@@ -34,8 +34,8 @@
#include "xf86xv.h"
#include "fourcc.h"
-#include "i830.h"
-#include "i830_video.h"
+#include "intel.h"
+#include "intel_video.h"
#include "i915_reg.h"
#include "i915_3d.h"
@@ -149,15 +149,15 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn,
DSTORG_VERT_BIAS(0x8) | format);
/* front buffer, pitch, offset */
- if (i830_pixmap_tiled(target)) {
+ if (intel_pixmap_tiled(target)) {
tiling = BUF_3D_TILED_SURFACE;
- if (i830_get_pixmap_intel(target)->tiling == I915_TILING_Y)
+ if (intel_get_pixmap_private(target)->tiling == I915_TILING_Y)
tiling |= BUF_3D_TILE_WALK_Y;
} else
tiling = 0;
OUT_BATCH(_3DSTATE_BUF_INFO_CMD);
OUT_BATCH(BUF_3D_ID_COLOR_BACK | tiling |
- BUF_3D_PITCH(intel_get_pixmap_pitch(target)));
+ BUF_3D_PITCH(intel_pixmap_pitch(target)));
OUT_RELOC_PIXMAP(target, I915_GEM_DOMAIN_RENDER,
I915_GEM_DOMAIN_RENDER, 0);
@@ -477,5 +477,5 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn,
target->drawable.pScreen->DestroyPixmap(target);
}
- i830_debug_flush(scrn);
+ intel_debug_flush(scrn);
}