Lines Matching refs:master_priv
768 struct drm_radeon_master_private *master_priv, in radeon_clear_box() argument
774 x += master_priv->sarea_priv->boxes[0].x1; in radeon_clear_box()
775 y += master_priv->sarea_priv->boxes[0].y1; in radeon_clear_box()
803 if (master_priv->sarea_priv->pfCurrentPage == 1) { in radeon_clear_box()
817 …cp_performance_boxes(drm_radeon_private_t *dev_priv, struct drm_radeon_master_private *master_priv) in radeon_cp_performance_boxes() argument
834 radeon_clear_box(dev_priv, master_priv, 4, 4, 8, 8, 255, 0, 255); in radeon_cp_performance_boxes()
839 radeon_clear_box(dev_priv, master_priv, 16, 4, 8, 8, 255, 0, 0); in radeon_cp_performance_boxes()
847 radeon_clear_box(dev_priv, master_priv, 40, 4, 8, 8, 255, 255, 0); in radeon_cp_performance_boxes()
852 radeon_clear_box(dev_priv, master_priv, 64, 4, 8, 8, 0, 255, 0); in radeon_cp_performance_boxes()
861 radeon_clear_box(dev_priv, master_priv, 4, 16, in radeon_cp_performance_boxes()
880 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_clear() local
881 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_dispatch_clear()
1376 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_swap() local
1377 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_dispatch_swap()
1387 radeon_cp_performance_boxes(dev_priv, master_priv); in radeon_cp_dispatch_swap()
1454 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_flip() local
1455 struct drm_sarea *sarea = (struct drm_sarea *)master_priv->sarea->handle; in radeon_cp_dispatch_flip()
1456 int offset = (master_priv->sarea_priv->pfCurrentPage == 1) in radeon_cp_dispatch_flip()
1460 master_priv->sarea_priv->pfCurrentPage); in radeon_cp_dispatch_flip()
1466 radeon_cp_performance_boxes(dev_priv, master_priv); in radeon_cp_dispatch_flip()
1478 OUT_RING_REG(RADEON_CRTC2_OFFSET, master_priv->sarea_priv->crtc2_base in radeon_cp_dispatch_flip()
1487 master_priv->sarea_priv->last_frame++; in radeon_cp_dispatch_flip()
1488 master_priv->sarea_priv->pfCurrentPage = in radeon_cp_dispatch_flip()
1489 1 - master_priv->sarea_priv->pfCurrentPage; in radeon_cp_dispatch_flip()
1493 RADEON_FRAME_AGE(master_priv->sarea_priv->last_frame); in radeon_cp_dispatch_flip()
1536 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_dispatch_vertex() local
1537 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_dispatch_vertex()
1581 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_discard_buffer() local
1585 buf_priv->age = ++master_priv->sarea_priv->last_dispatch; in radeon_cp_discard_buffer()
1642 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_indices() local
1643 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_dispatch_indices()
2158 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_clear() local
2159 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_clear()
2186 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_do_init_pageflip() local
2203 if (master_priv->sarea_priv->pfCurrentPage != 1) in radeon_do_init_pageflip()
2204 master_priv->sarea_priv->pfCurrentPage = 0; in radeon_do_init_pageflip()
2233 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_swap() local
2234 drm_radeon_sarea_t *sarea_priv = master_priv->sarea_priv; in radeon_cp_swap()
2258 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_vertex() local
2267 sarea_priv = master_priv->sarea_priv; in radeon_cp_vertex()
2337 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_indices() local
2347 sarea_priv = master_priv->sarea_priv; in radeon_cp_indices()
2544 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_vertex2() local
2554 sarea_priv = master_priv->sarea_priv; in radeon_cp_vertex2()
3130 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_setparam() local
3145 if (master_priv->sarea_priv) in radeon_cp_setparam()
3146 master_priv->sarea_priv->tiling_enabled = 0; in radeon_cp_setparam()
3151 if (master_priv->sarea_priv) in radeon_cp_setparam()
3152 master_priv->sarea_priv->tiling_enabled = 1; in radeon_cp_setparam()