radeonsi/gfx9: INDIRECT_BUFFER change
authorMarek Olšák <marek.olsak@amd.com>
Sat, 15 Oct 2016 12:23:26 +0000 (14:23 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pm4.c

index 2680439d35e3239e4f74f812403038205d0521f7..bf923ec1eb686e3f6ff89afa4b71680eee2393a0 100644 (file)
@@ -150,7 +150,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state)
 
                radeon_emit(cs, PKT3(PKT3_INDIRECT_BUFFER_CIK, 2, 0));
                radeon_emit(cs, ib->gpu_address);
-               radeon_emit(cs, (ib->gpu_address >> 32) & 0xffff);
+               radeon_emit(cs, ib->gpu_address >> 32);
                radeon_emit(cs, (ib->b.b.width0 >> 2) & 0xfffff);
        }
 }