aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-03-23 21:19:24 -0700
committerKenneth Graunke <[email protected]>2017-04-10 14:31:18 -0700
commit4f698b004907ed2b8e605fe58373cd807377c1d0 (patch)
tree79c3cad20d57011ddd83ba744db0358a530a8061 /src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
parent09b2f6124a9ad850dcefc18c30462908341b0f7a (diff)
i965/drm: Remove some unused functions and macros.
Mesa doesn't use these functions or macros, so we can delete them, and save work refactoring and cleaning them up. We'll delete a lot more later, too. Based on a patch by Kristian Høgsberg. Reviewed-by: Chris Wilson <[email protected]> Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_bufmgr_priv.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_bufmgr_priv.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h b/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
index 91b68c969b2..7fcde181455 100644
--- a/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
+++ b/src/mesa/drivers/dri/i965/intel_bufmgr_priv.h
@@ -207,21 +207,6 @@ struct _drm_bacon_bufmgr {
int DR4, unsigned flags);
/**
- * Pin a buffer to the aperture and fix the offset until unpinned
- *
- * \param buf Buffer to pin
- * \param alignment Required alignment for aperture, in bytes
- */
- int (*bo_pin) (drm_bacon_bo *bo, uint32_t alignment);
-
- /**
- * Unpin a buffer from the aperture, allowing it to be removed
- *
- * \param buf Buffer to unpin
- */
- int (*bo_unpin) (drm_bacon_bo *bo);
-
- /**
* Ask that the buffer be placed in tiling mode
*
* \param buf Buffer to set tiling mode for
@@ -293,19 +278,6 @@ struct _drm_bacon_bufmgr {
*/
int (*bo_is_reusable) (drm_bacon_bo *bo);
- /**
- *
- * Return the pipe associated with a crtc_id so that vblank
- * synchronization can use the correct data in the request.
- * This is only supported for KMS and gem at this point, when
- * unsupported, this function returns -1 and leaves the decision
- * of what to do in that case to the caller
- *
- * \param bufmgr the associated buffer manager
- * \param crtc_id the crtc identifier
- */
- int (*get_pipe_from_crtc_id) (drm_bacon_bufmgr *bufmgr, int crtc_id);
-
/** Returns true if target_bo is in the relocation tree rooted at bo. */
int (*bo_references) (drm_bacon_bo *bo, drm_bacon_bo *target_bo);