hardware/intel/intel-driver
Revisión | 7fd04dd40dc09ffefc16aab739269c83cde04c95 (tree) |
---|---|
Tiempo | 2014-12-14 01:26:32 |
Autor | Zhao Yakui <yakui.zhao@inte...> |
Commiter | Xiang, Haihao |
Rendering/SKL: Follow the spec to update the 3DSTATE_DS command
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
@@ -1226,8 +1226,8 @@ gen9_emit_bypass_state(VADriverContextP ctx) | ||
1226 | 1226 | OUT_BATCH(batch, 0); |
1227 | 1227 | ADVANCE_BATCH(batch); |
1228 | 1228 | |
1229 | - BEGIN_BATCH(batch, 9); | |
1230 | - OUT_BATCH(batch, GEN7_3DSTATE_DS | (9 - 2)); | |
1229 | + BEGIN_BATCH(batch, 11); | |
1230 | + OUT_BATCH(batch, GEN7_3DSTATE_DS | (11 - 2)); | |
1231 | 1231 | /* DW1. DS shader pointer */ |
1232 | 1232 | OUT_BATCH(batch, 0); |
1233 | 1233 | OUT_BATCH(batch, 0); |
@@ -1240,6 +1240,10 @@ gen9_emit_bypass_state(VADriverContextP ctx) | ||
1240 | 1240 | OUT_BATCH(batch, 0); |
1241 | 1241 | /* DW8. DS shader output URB */ |
1242 | 1242 | OUT_BATCH(batch, 0); |
1243 | + | |
1244 | + /* Dual-patch kernel start pointer */ | |
1245 | + OUT_BATCH(batch, 0); | |
1246 | + OUT_BATCH(batch, 0); | |
1243 | 1247 | ADVANCE_BATCH(batch); |
1244 | 1248 | |
1245 | 1249 | BEGIN_BATCH(batch, 2); |