Otherwise it may result in GPU hang

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

diff --git a/src/gen9_render.c b/src/gen9_render.c
index 7723bc8..c679b33 100644
--- a/src/gen9_render.c
+++ b/src/gen9_render.c
@@ -1098,7 +1098,7 @@ gen9_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.9.1

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

Reply via email to