This is to fix the GPU hang when doing the color-space conversion from
NV12 to RGB on BDW GT3 machine.

Signed-off-by: Zhao Yakui <[email protected]>
---
 src/gen8_render.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen8_render.c b/src/gen8_render.c
index 3b3fc89..90f278e 100644
--- a/src/gen8_render.c
+++ b/src/gen8_render.c
@@ -1092,7 +1092,7 @@ gen8_emit_urb(VADriverContextP ctx)
     OUT_BATCH(batch,
               (num_urb_entries << GEN7_URB_ENTRY_NUMBER_SHIFT) |
               (4 - 1) << GEN7_URB_ENTRY_SIZE_SHIFT |
-              (1 << GEN7_URB_STARTING_ADDRESS_SHIFT));
+              (4 << GEN7_URB_STARTING_ADDRESS_SHIFT));
    ADVANCE_BATCH(batch);
 
    BEGIN_BATCH(batch, 2);
-- 
1.7.10.1

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to