i965/drm: Rename drm_bacon_bo to brw_bo.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_pipe_control.c
index 090d98dcc5b1260e223a34e8e025456ddba1ec9b..f4ede2deb3f675dbcd1af75a5fb2f7e52de6f2ac 100644 (file)
@@ -177,7 +177,7 @@ brw_emit_pipe_control_flush(struct brw_context *brw, uint32_t flags)
  */
 void
 brw_emit_pipe_control_write(struct brw_context *brw, uint32_t flags,
-                            drm_bacon_bo *bo, uint32_t offset,
+                            struct brw_bo *bo, uint32_t offset,
                             uint32_t imm_lower, uint32_t imm_upper)
 {
    if (brw->gen >= 8) {
@@ -372,9 +372,9 @@ brw_init_pipe_control(struct brw_context *brw,
     * the gen6 workaround because it involves actually writing to
     * the buffer, and the kernel doesn't let us write to the batch.
     */
-   brw->workaround_bo = drm_bacon_bo_alloc(brw->bufmgr,
-                                           "pipe_control workaround",
-                                           4096, 4096);
+   brw->workaround_bo = brw_bo_alloc(brw->bufmgr,
+                                     "pipe_control workaround",
+                                     4096, 4096);
    if (brw->workaround_bo == NULL)
       return -ENOMEM;
 
@@ -386,5 +386,5 @@ brw_init_pipe_control(struct brw_context *brw,
 void
 brw_fini_pipe_control(struct brw_context *brw)
 {
-   drm_bacon_bo_unreference(brw->workaround_bo);
+   brw_bo_unreference(brw->workaround_bo);
 }