summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 16:30:41 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 16:30:41 +0100
commit83904b820b81d226940ec6d663246f243f92e7ba (patch)
tree01edad296037ac0449d4af32b12cdbc4fc229e29 /src/radeon_accel.c
parentb422d8085aab4e01a1ac4ffb247c73fe51aafa0d (diff)
radeon: drop FUNC_NAME macro and ONCE_ONLY stuff
Drop all the CP vs MMIO macros that name functions. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index b21fb148..7832744e 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -229,7 +229,7 @@ Bool RADEONAccelInit(ScreenPtr pScreen)
return TRUE;
}
-static void RADEONInit3DEngineCP(ScrnInfoPtr pScrn)
+static void RADEONInit3DEngineInternal(ScrnInfoPtr pScrn)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
uint32_t gb_tile_config, vap_cntl;
@@ -953,8 +953,8 @@ static void RADEONInit3DEngineCP(ScrnInfoPtr pScrn)
}
/* inserts a wait for vline in the command stream */
-void RADEONWaitForVLineCP(ScrnInfoPtr pScrn, PixmapPtr pPix,
- xf86CrtcPtr crtc, int start, int stop)
+void RADEONWaitForVLine(ScrnInfoPtr pScrn, PixmapPtr pPix,
+ xf86CrtcPtr crtc, int start, int stop)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
drmmode_crtc_private_ptr drmmode_crtc;
@@ -1009,7 +1009,7 @@ void RADEONInit3DEngine(ScrnInfoPtr pScrn)
RADEONInfoPtr info = RADEONPTR (pScrn);
if (info->directRenderingEnabled) {
- RADEONInit3DEngineCP(pScrn);
+ RADEONInit3DEngineInternal(pScrn);
}
info->accel_state->XInited3D = TRUE;
}