[Libva] [Intel-driver PATCH] Rendering/BDW:Follow the hardware spec to update the 3DSTATE_URB_VS command

Zhao Yakui yakui.zhao at intel.com
Tue Apr 8 20:42:22 PDT 2014


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 <yakui.zhao at intel.com>
---
 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



More information about the Libva mailing list