blorp: rename workaround address function
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3203>
This commit is contained in:

committed by
Marge Bot

parent
f36708b143
commit
0ff5b9e692
@@ -224,7 +224,7 @@ blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *blorp_batch,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct blorp_address
|
static struct blorp_address
|
||||||
blorp_get_workaround_page(struct blorp_batch *blorp_batch)
|
blorp_get_workaround_address(struct blorp_batch *blorp_batch)
|
||||||
{
|
{
|
||||||
struct iris_batch *batch = blorp_batch->driver_batch;
|
struct iris_batch *batch = blorp_batch->driver_batch;
|
||||||
|
|
||||||
|
@@ -67,7 +67,7 @@ blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
|
|||||||
unsigned num_vbs);
|
unsigned num_vbs);
|
||||||
|
|
||||||
UNUSED static struct blorp_address
|
UNUSED static struct blorp_address
|
||||||
blorp_get_workaround_page(struct blorp_batch *batch);
|
blorp_get_workaround_address(struct blorp_batch *batch);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
blorp_alloc_binding_table(struct blorp_batch *batch, unsigned num_entries,
|
blorp_alloc_binding_table(struct blorp_batch *batch, unsigned num_entries,
|
||||||
@@ -234,7 +234,7 @@ emit_urb_config(struct blorp_batch *batch,
|
|||||||
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
||||||
pc.DepthStallEnable = true;
|
pc.DepthStallEnable = true;
|
||||||
pc.PostSyncOperation = WriteImmediateData;
|
pc.PostSyncOperation = WriteImmediateData;
|
||||||
pc.Address = blorp_get_workaround_page(batch);
|
pc.Address = blorp_get_workaround_address(batch);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1698,7 +1698,7 @@ blorp_emit_depth_stencil_config(struct blorp_batch *batch,
|
|||||||
*/
|
*/
|
||||||
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
||||||
pc.PostSyncOperation = WriteImmediateData;
|
pc.PostSyncOperation = WriteImmediateData;
|
||||||
pc.Address = blorp_get_workaround_page(batch);
|
pc.Address = blorp_get_workaround_address(batch);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -1844,7 +1844,7 @@ blorp_emit_gen8_hiz_op(struct blorp_batch *batch,
|
|||||||
*/
|
*/
|
||||||
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
blorp_emit(batch, GENX(PIPE_CONTROL), pc) {
|
||||||
pc.PostSyncOperation = WriteImmediateData;
|
pc.PostSyncOperation = WriteImmediateData;
|
||||||
pc.Address = blorp_get_workaround_page(batch);
|
pc.Address = blorp_get_workaround_address(batch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -179,7 +179,7 @@ blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
|
|||||||
}
|
}
|
||||||
|
|
||||||
UNUSED static struct blorp_address
|
UNUSED static struct blorp_address
|
||||||
blorp_get_workaround_page(struct blorp_batch *batch)
|
blorp_get_workaround_address(struct blorp_batch *batch)
|
||||||
{
|
{
|
||||||
struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
|
struct anv_cmd_buffer *cmd_buffer = batch->driver_batch;
|
||||||
|
|
||||||
|
@@ -232,7 +232,7 @@ blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
|
|||||||
}
|
}
|
||||||
|
|
||||||
UNUSED static struct blorp_address
|
UNUSED static struct blorp_address
|
||||||
blorp_get_workaround_page(struct blorp_batch *batch)
|
blorp_get_workaround_address(struct blorp_batch *batch)
|
||||||
{
|
{
|
||||||
assert(batch->blorp->driver_ctx == batch->driver_batch);
|
assert(batch->blorp->driver_ctx == batch->driver_batch);
|
||||||
struct brw_context *brw = batch->driver_batch;
|
struct brw_context *brw = batch->driver_batch;
|
||||||
|
Reference in New Issue
Block a user