summaryrefslogtreecommitdiff
path: root/src/i965_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-30 12:12:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-11-30 12:12:49 +0000
commit5d6dd9c5a7eeb1f879525430ad89ab74d427e469 (patch)
treea86af90e179fa901d56209aeb939dd338d6afaca /src/i965_video.c
parent131600020638ef15166361214cd5e1a0c08c2ea6 (diff)
Convert generation counter to octal
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i965_video.c')
-rw-r--r--src/i965_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index 3276788f..65f60612 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -897,7 +897,7 @@ i965_emit_video_setup(ScrnInfoPtr scrn, drm_intel_bo * surface_state_binding_tab
/* brw_debug (scrn, "before base address modify"); */
/* Match Mesa driver setup */
- if (INTEL_INFO(intel)->gen >= 45)
+ if (INTEL_INFO(intel)->gen >= 045)
OUT_BATCH(NEW_PIPELINE_SELECT | PIPELINE_SELECT_3D);
else
OUT_BATCH(BRW_PIPELINE_SELECT | PIPELINE_SELECT_3D);
@@ -1428,7 +1428,7 @@ gen6_create_vidoe_objects(ScrnInfoPtr scrn)
const uint32_t *packed_ps_kernel, *planar_ps_kernel;
unsigned int packed_ps_size, planar_ps_size;
- if (INTEL_INFO(intel)->gen >= 70) {
+ if (INTEL_INFO(intel)->gen >= 070) {
create_sampler_state = gen7_create_sampler_state;
packed_ps_kernel = &ps_kernel_packed_static_gen7[0][0];
packed_ps_size = sizeof(ps_kernel_packed_static_gen7);
@@ -1787,7 +1787,7 @@ void Gen6DisplayVideoTextured(ScrnInfoPtr scrn,
PixmapPtr,
drm_intel_bo *, uint32_t);
- if (INTEL_INFO(intel)->gen >= 70) {
+ if (INTEL_INFO(intel)->gen >= 070) {
create_dst_surface_state = gen7_create_dst_surface_state;
create_src_surface_state = gen7_create_src_surface_state;
emit_video_setup = gen7_emit_video_setup;