summaryrefslogtreecommitdiff
path: root/src/gen8_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen8_render.c')
-rw-r--r--src/gen8_render.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gen8_render.c b/src/gen8_render.c
index 90f278e..8f5feaa 100644
--- a/src/gen8_render.c
+++ b/src/gen8_render.c
@@ -1377,7 +1377,7 @@ gen8_emit_wm_state(VADriverContextP ctx, int kernel)
unsigned int num_samples = 0;
unsigned int max_threads;
- max_threads = render_state->max_wm_threads - 2;
+ max_threads = i965->intel.device_info->max_wm_threads - 2;
BEGIN_BATCH(batch, 2);
OUT_BATCH(batch, GEN8_3DSTATE_PSEXTRA | (2 - 2));
@@ -1784,14 +1784,6 @@ gen8_render_init(VADriverContextP ctx)
dri_bo_unmap(render_state->instruction_state.bo);
-
- if (IS_GEN8(i965->intel.device_id)) {
- render_state->max_wm_threads = 64;
- } else {
- /* should never get here !!! */
- assert(0);
- }
-
return true;
}